| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| From: Shashank Babu Chinta Venkata <sbchin@codeaurora.org> |
| Date: Fri, 4 Oct 2019 15:16:49 -0700 |
| Subject: ANDROID: include: drm: add the definitions for DP Link Compliance |
| tests |
| |
| Add the definitions for various DPCD register offsets and |
| corresponding parameter values for DP Link compliance tests |
| for PHY audio/link training/link status tests. |
| |
| Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org> |
| Bug: 139653858 |
| Change-Id: If6aa7d9b77e6234780086f27515c346b6495a46f |
| --- |
| include/drm/drm_dp_helper.h | 8 ++++++++ |
| 1 file changed, 8 insertions(+) |
| |
| diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h |
| --- a/include/drm/drm_dp_helper.h |
| +++ b/include/drm/drm_dp_helper.h |
| @@ -702,6 +702,14 @@ |
| # define DP_TEST_COUNT_MASK 0xf |
| |
| #define DP_TEST_PHY_PATTERN 0x248 |
| +# define DP_TEST_PHY_PATTERN_NONE 0x0 |
| +# define DP_TEST_PHY_PATTERN_D10_2_NO_SCRAMBLING 0x1 |
| +# define DP_TEST_PHY_PATTERN_SYMBOL_ERR_MEASUREMENT_CNT 0x2 |
| +# define DP_TEST_PHY_PATTERN_PRBS7 0x3 |
| +# define DP_TEST_PHY_PATTERN_80_BIT_CUSTOM_PATTERN 0x4 |
| +# define DP_TEST_PHY_PATTERN_CP2520_PATTERN_1 0x5 |
| +# define DP_TEST_PHY_PATTERN_CP2520_PATTERN_2 0x6 |
| +# define DP_TEST_PHY_PATTERN_CP2520_PATTERN_3 0x7 |
| #define DP_TEST_80BIT_CUSTOM_PATTERN_7_0 0x250 |
| #define DP_TEST_80BIT_CUSTOM_PATTERN_15_8 0x251 |
| #define DP_TEST_80BIT_CUSTOM_PATTERN_23_16 0x252 |