From: Nikola Cornij Date: Fri, 1 Oct 2021 14:36:14 +0000 (+0800) Subject: drm/amd/display: Limit display scaling to up to 4k for DCN 3.1 X-Git-Tag: v5.16-rc1~140^2~11^2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa635f6509ce2e086da09d982abd32e3f652608c;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Limit display scaling to up to 4k for DCN 3.1 [why] The existing limit was mistakenly bigger than 4k for DCN 3.1 Reviewed-by: Zhan Liu Acked-by: Solomon Chiu Signed-off-by: Nikola Cornij Signed-off-by: Alex Deucher --- 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 613d34bde7dd1..d5b58025f0cc5 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c @@ -998,7 +998,7 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_dcc = DCC_ENABLE, .vsr_support = true, .performance_trace = false, - .max_downscale_src_width = 7680,/*upto 8K*/ + .max_downscale_src_width = 3840,/*upto 4K*/ .disable_pplib_wm_range = false, .scl_reset_length10 = true, .sanity_checks = false,