]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amd/display: Disable scaling on DCE6 for now
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 25 Sep 2025 18:45:25 +0000 (20:45 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Oct 2025 18:09:06 +0000 (14:09 -0400)
Scaling doesn't work on DCE6 at the moment, the current
register programming produces incorrect output when using
fractional scaling (between 100-200%) on resolutions higher
than 1080p.

Disable it until we figure out how to program it properly.

Fixes: 7c15fd86aaec ("drm/amd/display: dc/dce: add initial DCE6 support (v10)")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c

index 53c67ebe779ff56ed6edb2aa25bc7de4680cdf5f..b75be6ad64f6ccb2d82ce3869290f88a1b87d837 100644 (file)
@@ -404,13 +404,13 @@ static const struct dc_plane_cap plane_cap = {
        },
 
        .max_upscale_factor = {
-                       .argb8888 = 16000,
+                       .argb8888 = 1,
                        .nv12 = 1,
                        .fp16 = 1
        },
 
        .max_downscale_factor = {
-                       .argb8888 = 250,
+                       .argb8888 = 1,
                        .nv12 = 1,
                        .fp16 = 1
        }