FW: [PATCH] drm/dp: Add DP phy test pattern DPCD bit definitions
Kumar, Abhay
abhay.kumar at intel.com
Tue Mar 26 19:12:44 UTC 2019
> -----Original Message-----
> From: Taylor, Clinton A
> Sent: Thursday, March 21, 2019 3:42 PM
> To: dri-devel at lists.freedesktop.org
> Cc: Taylor, Clinton A <clinton.a.taylor at intel.com>
> Subject: [PATCH] drm/dp: Add DP phy test pattern DPCD bit definitions
>
> From: Clinton Taylor <Clinton.A.Taylor at intel.com>
>
> Added PHY_TEST_PATTERN_SEL bit definitions for DPCD 00248h and HBR2_COMPLIANCE_SCRAMBLER_RESET DPCD definition.
>
> Signed-off-by: Clinton Taylor <Clinton.A.Taylor at intel.com>
Reviewed-by: Abhay Kumar <abhay.kumar at intel.com>
> ---
> include/drm/drm_dp_helper.h | 17 +++++++++++++++--
> 1 file changed, 15 insertions(+), 2 deletions(-)
>
> diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 97ce790a5b5a..d22e293e457c 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -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
> --
> 2.19.1
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190326/d3325d7c/attachment-0001.html>
More information about the dri-devel
mailing list