drm/amd/display: update gamut remap if plane has changed
authorHugo Hu <hugo.hu@amd.com>
Thu, 1 Sep 2022 02:08:35 +0000 (10:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:13:16 +0000 (15:13 -0400)
commit441595baa55ac7b60fc9a344228faafa275f3354
treec7d6d1049b393eb12d296561858e75b41cffa353
parenteccff6cdde6f47dcd88fca8c638e0d651f0e09f8
drm/amd/display: update gamut remap if plane has changed

[Why]
The desktop plane and full-screen game plane may have different
gamut remap coefficients, if switching between desktop and
full-screen game without updating the gamut remap will cause
incorrect color.

[How]
Update gamut remap if planes change.

Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Hugo Hu <hugo.hu@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/dcn20/dcn20_hwseq.c