[PATCH] drm/amd/include: Add USB_C_TYPE to atom_encoder_cap_defs

Deucher, Alexander Alexander.Deucher at amd.com
Tue Apr 16 20:38:51 UTC 2019


> -----Original Message-----
> From: sunpeng.li at amd.com <sunpeng.li at amd.com>
> Sent: Tuesday, April 16, 2019 12:00 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Li, Sun peng (Leo) <Sunpeng.Li at amd.com>; Tam, Samson
> <Samson.Tam at amd.com>; Wentland, Harry <Harry.Wentland at amd.com>;
> Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: [PATCH] drm/amd/include: Add USB_C_TYPE to
> atom_encoder_cap_defs
> 
> From: Leo Li <sunpeng.li at amd.com>
> 
> This is needed by DC to support EDID emulation on USB-C ports.
> 
> CC: Samson Tam <Samson.Tam at amd.com>
> CC: Harry Wentland <harry.wentland at amd.com>
> CC: Alex Deucher <alexander.deucher at amd.com>
> Signed-off-by: Leo Li <sunpeng.li at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/include/atomfirmware.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h
> b/drivers/gpu/drm/amd/include/atomfirmware.h
> index 08769b4..d3075ad 100644
> --- a/drivers/gpu/drm/amd/include/atomfirmware.h
> +++ b/drivers/gpu/drm/amd/include/atomfirmware.h
> @@ -718,6 +718,7 @@ enum atom_encoder_caps_def
>    ATOM_ENCODER_CAP_RECORD_HBR2_EN               =0x02,         // DP1.2 HBR2
> setting is qualified and HBR2 can be enabled
>    ATOM_ENCODER_CAP_RECORD_HDMI6Gbps_EN          =0x04,         //
> HDMI2.0 6Gbps enable or not.
>    ATOM_ENCODER_CAP_RECORD_HBR3_EN               =0x08,         // DP1.3 HBR3
> is supported by board.
> +  ATOM_ENCODER_CAP_RECORD_USB_C_TYPE            =0x100,        // the DP
> connector is a USB-C type.
>  };
> 
>  struct  atom_encoder_caps_record
> --
> 2.7.4



More information about the amd-gfx mailing list