drm/dp: Clarify automated test constant and add constant for FAUX test pattern
authorTodd Previte <tprevite@gmail.com>
Fri, 4 Oct 2013 19:59:03 +0000 (12:59 -0700)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Dec 2013 01:47:43 +0000 (11:47 +1000)
  - DP_TEST_LINK_PATTERN is ambiguous, rename to DP_TEST_LINK_VIDEO_PATTERN to clarify
  - Added DP_TEST_LINK_FAUX_PATTERN to support automated testing of Fast AUX

Signed-off-by: Todd Previte <tprevite@gmail.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drm_dp_helper.h

index c873f9ce5871646c03d322eeb78949e6ea5d70f4..1d09050a8c001749ba26087581b93cb2de1f9153 100644 (file)
 
 #define DP_TEST_REQUEST                            0x218
 # define DP_TEST_LINK_TRAINING             (1 << 0)
-# define DP_TEST_LINK_PATTERN              (1 << 1)
+# define DP_TEST_LINK_VIDEO_PATTERN        (1 << 1)
 # define DP_TEST_LINK_EDID_READ                    (1 << 2)
 # define DP_TEST_LINK_PHY_TEST_PATTERN     (1 << 3) /* DPCD >= 1.1 */
+# define DP_TEST_LINK_FAUX_PATTERN         (1 << 4) /* DPCD >= 1.2 */
 
 #define DP_TEST_LINK_RATE                  0x219
 # define DP_LINK_RATE_162                  (0x6)