drm/dp: Add DP phy test pattern DPCD bit definitions
Subsystems (2)
PATCH 1/1 drm/dp: Add DP phy test pattern DPCD bit definitions
From: Clinton Taylor <[email protected]>
Added PHY_TEST_PATTERN_SEL bit definitions for DPCD 00248h and HBR2_COMPLIANCE_SCRAMBLER_RESET DPCD definition.
--- include/drm/drm_dp_helper.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-)
include/drm/drm_dp_helper.h +15 -2
@@ -564,8 +564,10 @@# define DP_TEST_LINK_AUDIO_DISABLED_VIDEO (1 << 6)/* DPCD >= 1.2 */ #define DP_TEST_LINK_RATE 0x219 -# define DP_LINK_RATE_162 (0x6) -# define DP_LINK_RATE_27 (0xa) +# define DP_TEST_LINK_RATE_162 0x6 +# define DP_TEST_LINK_RATE_27 0xa +# define DP_TEST_LINK_RATE_54 0x14 +# define DP_TEST_LINK_RATE_81 0x1e#define DP_TEST_LANE_COUNT 0x220
@@ -640,6 +642,17 @@# define DP_TEST_COUNT_MASK 0xf#define DP_TEST_PHY_PATTERN 0x248 +# define DP_TEST_PHY_PATTERN_NONE 0 +# define DP_TEST_PHY_PATTERN_D10_2 1 +# define DP_TEST_PHY_PATTERN_ERROR_COUNT 2 +# define DP_TEST_PHY_PATTERN_PRBS7 3 +# define DP_TEST_PHY_PATTERN_80BIT_CUSTOM 4 +# define DP_TEST_PHY_PATTERN_CP2520_1 5/* was HBR2 Compliance */ +# define DP_TEST_PHY_PATTERN_CP2520_2 6/* DP 1.4 */ +# define DP_TEST_PHY_PATTERN_CP2520_3 7/* DP 1.4 TPS4 */ + +#define DP_TEST_HBR2_SCRAMBLER_RESET 0x24A +#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
Signature · 6 lines
2.19.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
A message that is not in the archive (sent off-list or not yet received): 07B20DB26D79E148B5B4241D21181A4CC08B9335@ORSMSX115.amr.corp.intel.com
Kumar, Abhay
Reviewed-byQuoted 8 lines
-----Original Message-----
From: Taylor, Clinton A
Sent: Thursday, March 21, 2019 3:42 PM
To: [email protected]
Cc: Taylor, Clinton A <[email protected]>
Subject: [PATCH] drm/dp: Add DP phy test pattern DPCD bit definitions
Quoted 5 lines
From: Clinton Taylor <[email protected]>
Added
PHY_TEST_PATTERN_SELbit definitions for DPCD 00248h andHBR2_COMPLIANCE_SCRAMBLER_RESETDPCD definition.Signed-off-by Clinton Taylor <[email protected]>
Quoted 39 lines
--- include/drm/drm_dp_helper.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-)include/drm/drm_dp_helper.h +15
-3@@ -564,8 +564,10 @@# define DP_TEST_LINK_AUDIO_DISABLED_VIDEO (1 << 6)/* DPCD >= 1.2 */ #define DP_TEST_LINK_RATE 0x219 -# define DP_LINK_RATE_162 (0x6) -# define DP_LINK_RATE_27 (0xa) +# define DP_TEST_LINK_RATE_162 0x6 +# define DP_TEST_LINK_RATE_27 0xa +# define DP_TEST_LINK_RATE_54 0x14 +# define DP_TEST_LINK_RATE_81 0x1e#define DP_TEST_LANE_COUNT 0x220@@ -640,6 +642,17 @@# define DP_TEST_COUNT_MASK 0xf#define DP_TEST_PHY_PATTERN 0x248 +# define DP_TEST_PHY_PATTERN_NONE 0 +# define DP_TEST_PHY_PATTERN_D10_2 1 +# define DP_TEST_PHY_PATTERN_ERROR_COUNT 2 +# define DP_TEST_PHY_PATTERN_PRBS7 3 +# define DP_TEST_PHY_PATTERN_80BIT_CUSTOM 4 +# define DP_TEST_PHY_PATTERN_CP2520_1 5/* was HBR2 Compliance */ +# define DP_TEST_PHY_PATTERN_CP2520_2 6/* DP 1.4 */ +# define DP_TEST_PHY_PATTERN_CP2520_3 7/* DP 1.4 TPS4 */ + +#define DP_TEST_HBR2_SCRAMBLER_RESET 0x24A +#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 --
Quoted 2 lines
2.19.1
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel