]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1
authorNikola Cornij <nikola.cornij@amd.com>
Wed, 29 Sep 2021 02:43:52 +0000 (22:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:18:45 +0000 (17:18 -0400)
[why]
The requirement is that image width up to 4096 shall be supported

Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c

index 20b4202bda135c57e9205215d0d04bc9b9111f43..a2e40405c97d745d3e7ef1ebfba23b5f7a42f745 100644 (file)
@@ -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 = 3840,/*upto 4K*/
+       .max_downscale_src_width = 4096,/*upto true 4K*/
        .disable_pplib_wm_range = false,
        .scl_reset_length10 = true,
        .sanity_checks = false,