summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikola Cornij <nikola.cornij@amd.com>2021-10-01 17:36:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-10-06 23:10:28 +0300
commita7e397b7c45377e20542146be10231b8afa948d1 (patch)
treed5827736432abc26987d4c54594eaa1af272b7d7
parent2387033ac0db3235f3fa9d9976aeeeb50349550e (diff)
downloadlinux-a7e397b7c45377e20542146be10231b8afa948d1.tar.xz
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 <Zhan.Liu@amd.com> Acked-by: Solomon Chiu <solomon.chiu@amd.com> Signed-off-by: Nikola Cornij <nikola.cornij@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c2
1 files changed, 1 insertions, 1 deletions
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 cb50e6eda47e..0006bbac466c 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 = 7680,/*upto 8K*/
+ .max_downscale_src_width = 3840,/*upto 4K*/
.disable_pplib_wm_range = false,
.scl_reset_length10 = true,
.sanity_checks = false,