[PATCH] Revert "drm/amd/display: no 3D and blnd LUT as DPP color caps for DCN401"

Alex Hung alex.hung at amd.com
Wed May 28 18:13:55 UTC 2025


There is a work-in-progress supplement patch. Let's wait and see whether 
it fixes the regressions without reverting 46e68dd5066c.

On 5/27/25 11:06, Alex Hung wrote:
> This reverts commit 46e68dd5066c9831e9695c1756db017bb9c3762c since it
> breaks color enhancement in another OS, indicating these two fields are
> still used by color management in dcn401.
> 
> Fixes: 46e68dd5066c ("drm/amd/display: no 3D and blnd LUT as DPP color caps for DCN401")
> Signed-off-by: Alex Hung <alex.hung at amd.com>
> ---
>   .../gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c  | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c
> index f420c4dafa03..e0e32975ca34 100644
> --- a/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c
> @@ -1938,8 +1938,8 @@ static bool dcn401_resource_construct(
>   	dc->caps.color.dpp.gamma_corr = 1;
>   	dc->caps.color.dpp.dgam_rom_for_yuv = 0;
>   
> -	dc->caps.color.dpp.hw_3d_lut = 0;
> -	dc->caps.color.dpp.ogam_ram = 0;
> +	dc->caps.color.dpp.hw_3d_lut = 1;
> +	dc->caps.color.dpp.ogam_ram = 1;
>   	// no OGAM ROM on DCN2 and later ASICs
>   	dc->caps.color.dpp.ogam_rom_caps.srgb = 0;
>   	dc->caps.color.dpp.ogam_rom_caps.bt2020 = 0;



More information about the dri-devel mailing list