[Intel-gfx] [PATCH 1/2] drm/dp: Add DP_DPCD_REV_XX to drm_dp_helper

Benson Leung bleung at google.com
Tue May 22 22:59:05 UTC 2018


On Fri, May 04, 2018 at 03:17:59PM -0700, matthew.s.atwood at intel.com wrote:
> From: Matt Atwood <matthew.s.atwood at intel.com>
> 
> As more differentation occurs between DP spec. Its useful to have these
> as macros in a drm_dp_helper.
> 
> v2: DPCD_REV_XX to DP_DPCD_REV_XX
> 
> Signed-off-by: Matt Atwood <matthew.s.atwood at intel.com>

Tested-by: Benson Leung <bleung at chromium.org> 

> ---
>  include/drm/drm_dp_helper.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
> index 91c9bcd4196f..96dcef479ed6 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -64,6 +64,11 @@
>  /* AUX CH addresses */
>  /* DPCD */
>  #define DP_DPCD_REV                         0x000
> +# define DP_DPCD_REV_10                     0x10
> +# define DP_DPCD_REV_11                     0x11
> +# define DP_DPCD_REV_12                     0x12
> +# define DP_DPCD_REV_13                     0x13
> +# define DP_DPCD_REV_14                     0x14
>  
>  #define DP_MAX_LINK_RATE                    0x001
>  
> -- 
> 2.17.0
> 

-- 
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung at google.com
Chromium OS Project
bleung at chromium.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20180522/02462f2a/attachment.sig>


More information about the Intel-gfx mailing list