]> www.infradead.org Git - users/hch/misc.git/commit
drm/amd/display: fix YUV video color corruption in DCN401
authorSamson Tam <samson.tam@amd.com>
Wed, 15 May 2024 21:32:29 +0000 (17:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:25:14 +0000 (11:25 -0400)
commit5d74be8c3a941993299c78f7d3d70c27f826af0b
treecd63edc09e88e009ff32e4b40a41f4cca159ec56
parentdbe2c4c8ab92211a57ca4d23bf8eaf6f23e31a54
drm/amd/display: fix YUV video color corruption in DCN401

[Why]
Missing check causes sequence error which results in chroma
 filter coefficients not being updated in certain modes
 when we display YUV video in fullscreen.  This results in
 color corruption in video

[How]
Add back chroma_coef_mode check in dscl_set_scl_filter
 so that filter coefficients are calculated and updated when
 we have YUV surface

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c