Skip to content

Commit

Permalink
drm/dp: Clarify automated test constant and add constant for FAUX tes…
Browse files Browse the repository at this point in the history
…t pattern

  - 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>
  • Loading branch information
Todd Previte authored and Dave Airlie committed Dec 18, 2013
1 parent d016da5 commit fe3c703
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/drm/drm_dp_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,10 @@

#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)
Expand Down

0 comments on commit fe3c703

Please sign in to comment.