OSDN Git Service

drm/amd/display: Update scaler recout data for visual confirm
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Tue, 28 Mar 2023 20:26:29 +0000 (16:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:36:46 +0000 (18:36 -0400)
commit1068e987ad0be83a109147fe7fa0891700e8d80e
treed9167838f61fd0464e29610c0a4dc5bda4501d76
parent7a1187eab0111ac52ec216f2c18cb7822fec4a4c
drm/amd/display: Update scaler recout data for visual confirm

[Why]
Our QA found visual confirm color is not as expected for Auto
Color Management feature test after enable it.

[How]
Calculate scaler recout data when visual confirm enabled to update
the visual confirm bar on the display.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c