From dd9681b71955cad198ab5ff7fe288a064120ecb7 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 18 Jul 2014 17:48:06 -0400 Subject: [PATCH] drm/radeon: limit max display surface to 4k on avivo While the registers indicate 8k, the hardware only seems to work up to 4k. bug: https://bugs.freedesktop.org/show_bug.cgi?id=81476 Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/radeon/radeon_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 2ba80df..f8ce885 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -1547,7 +1547,7 @@ int radeon_modeset_init(struct radeon_device *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)) { + } else if (ASIC_IS_DCE2(rdev)) { rdev->ddev->mode_config.max_width = 8192; rdev->ddev->mode_config.max_height = 8192; } else { -- 1.8.3.1