From: Nikola Cornij Date: Wed, 29 Sep 2021 02:43:52 +0000 (-0400) Subject: drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1 X-Git-Tag: accepted/tizen/unified/20230118.172025~6114^2~5^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c21b105380cf86e829c68586ca1315cfc253ad8c;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1 [why] The requirement is that image width up to 4096 shall be supported Reviewed-by: Aric Cyr Acked-by: Agustin Gutierrez Sanchez Signed-off-by: Nikola Cornij Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c index 0006bba..1e3d50d 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c @@ -928,7 +928,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 3840,/*upto 4K*/ + .max_downscale_src_width = 4096,/*upto true 4K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,