]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 21 Sep 2022 21:23:06 +0000 (17:23 -0400)
commite47d00c004d83ceaee4921126e903430219c9984
tree21e1a34fa15adfa76eea2d8934728de604ee5c6d
parentd72f723c57a7397eeb2f3209f5f1d135c28a755c
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