]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/radeon/kms: DCE5 supports 16k display surfaces
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 7 Jan 2011 02:19:14 +0000 (21:19 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 7 Jan 2011 04:11:21 +0000 (14:11 +1000)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c

index acebbc76c2f96d85f2e2a4ca3acadc76d95eef58..30d867c8582598ed1a0d6c3ffffd1924bae4bc7f 100644 (file)
@@ -1119,7 +1119,10 @@ int radeon_modeset_init(struct radeon_device *rdev)
 
        rdev->ddev->mode_config.funcs = (void *)&radeon_mode_funcs;
 
-       if (ASIC_IS_AVIVO(rdev)) {
+       if (ASIC_IS_DCE5(rdev)) {
+               rdev->ddev->mode_config.max_width = 16384;
+               rdev->ddev->mode_config.max_height = 16384;
+       } else if (ASIC_IS_AVIVO(rdev)) {
                rdev->ddev->mode_config.max_width = 8192;
                rdev->ddev->mode_config.max_height = 8192;
        } else {