From: Yongqiang Sun Date: Wed, 7 Oct 2020 16:02:16 +0000 (-0400) Subject: drm/amd/display: Reduce height of visual confirm on right side. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c76b169b76bb4d40ab323143ee7a9cdfdc7563e4;p=linux.git drm/amd/display: Reduce height of visual confirm on right side. [Why] right side visual confirm is too thick due to it is 4 times of left side (16 lines). [How] Change factor from 4 to 2. Signed-off-by: Yongqiang Sun Acked-by: Aurabindo Pillai Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c index fce37c527a0b9..878b53d856942 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c @@ -656,7 +656,7 @@ static void dpp1_dscl_set_recout( RECOUT_WIDTH, recout->width, /* Number of RECOUT vertical lines */ RECOUT_HEIGHT, recout->height - - visual_confirm_on * 4 * (dpp->base.inst + 1)); + - visual_confirm_on * 2 * (dpp->base.inst + 1)); } /* Main function to program scaler and line buffer in manual scaling mode */