]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: Limit display scaling to up to 4k for DCN 3.1
authorNikola Cornij <nikola.cornij@amd.com>
Fri, 1 Oct 2021 14:36:14 +0000 (22:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 20:10:28 +0000 (16:10 -0400)
[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
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c

index cb50e6eda47e25c37bd509860f64ed6cd013ec9b..0006bbac466c8092ce554322ceab9758471f487a 100644 (file)
@@ -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,