drm/amd/display: Fix shaper using bad LUT params
authorIlya Bakoulin <ilya.bakoulin@amd.com>
Fri, 6 Oct 2023 19:57:28 +0000 (15:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2023 23:02:06 +0000 (19:02 -0400)
commit85ca6e85303c10019710f31d4abedafab7994d68
treee9881d9d8f8250034b14f2310b507767676bcdf5
parent8d0f4cd2ae44ebe50ff85a49fb248e64f28b6d66
drm/amd/display: Fix shaper using bad LUT params

[Why]
LUT params are not cleared after setting blend TF, which can lead to
same params being used for the shaper, if the shaper func is bypassed.

[How]
Set lut_params to NULL after program_1dlut.

Reviewed-by: Krunoslav Kovac <krunoslav.kovac@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Ilya Bakoulin <ilya.bakoulin@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/hwss/dcn32/dcn32_hwseq.c