[PATCH] drm/amd/display: Change Navi14's DWB flag to 1

Kazlauskas, Nicholas Nicholas.Kazlauskas at amd.com
Tue Oct 22 12:36:20 UTC 2019


On 2019-10-21 3:36 p.m., Liu, Zhan wrote:
> [PATCH] drm/amd/display: Change Navi14's DWB flag to 1
> 
> [Why]
> DWB (Display Writeback) flag needs to be enabled as 1, or system
> will throw out a few warnings when creating dcn20 resource pool.
> Also, Navi14's dwb setting needs to match Navi10's,
> which has already been set to 1.
> 
> [How]
> Change value of num_dwb from 0 to 1.
> 
> Signed-off-by: Zhan Liu <zhan.liu at amd.com>

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>

> ---
>   drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
> index 914e378bcda4..d4937c475e7c 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
> @@ -816,7 +816,7 @@ static const struct resource_caps res_cap_nv14 = {
>                  .num_audio = 6,
>                  .num_stream_encoder = 5,
>                  .num_pll = 5,
> -               .num_dwb = 0,
> +               .num_dwb = 1,
>                  .num_ddc = 5,
>   };
> 
> --
> 2.21.0
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> 



More information about the amd-gfx mailing list