[PATCH] drm/amd/display: Add DPCS regs for dcn302 link encoder

Aurabindo Pillai aurabindo.pillai at amd.com
Thu Nov 19 18:27:21 UTC 2020


Reviewed-by: Aurabindo Pillai <aurabindo.pillai at amd.com>

On 2020-11-18 2:19 p.m., Bhawanpreet Lakha wrote:
> dpcs reg are missing for dcn302 link encoder regs list, so add them.
> Just like dcn3
> 
> Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha at amd.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c b/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
> index 765002e0ff93..08ef1428550b 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
> @@ -967,6 +967,7 @@ static const struct encoder_feature_support link_enc_feature = {
>  		[id] = {\
>  				LE_DCN3_REG_LIST(id), \
>  				UNIPHY_DCN2_REG_LIST(phyid), \
> +				DPCS_DCN2_REG_LIST(id), \
>  				SRI(DP_DPHY_INTERNAL_CTRL, DP, id) \
>  		}
>  
> 


More information about the amd-gfx mailing list