From: Jingwen Zhu Date: Fri, 25 Feb 2022 08:55:59 +0000 (+0800) Subject: drm/amd/display: add gamut coefficient set A and B X-Git-Tag: v6.1-rc5~1719^2~4^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76a52f36b636cdff6b5b18f13daf05005e4b0b57;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/display: add gamut coefficient set A and B [Why] Screen shake on DCN3 night light SDR BR3. [How] Change the logic to use double buffer reisgter on gamut settings. Reviewed-by: Krunoslav Kovac Acked-by: Alan Liu Signed-off-by: Jingwen Zhu Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c index 387eec6..87dbeca 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c @@ -408,6 +408,6 @@ void dpp3_cm_set_gamut_remap( gamut_mode = 1; //follow dcn2 approach for now - using only coefficient set A - program_gamut_remap(dpp, arr_reg_val, GAMUT_REMAP_COEFF); + program_gamut_remap(dpp, arr_reg_val, gamut_mode); } }