diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-06 21:19:14 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-06 23:11:21 -0500 |
commit | 881dd74ea731067f8fc81608e3a8914fdd66bc6d (patch) | |
tree | 9def2819d254088b16fa5b7e5e9f3c2807f9b9ae | |
parent | 936b27cce8fdb8ca50a593714963862586285094 (diff) |
drm/radeon/kms: DCE5 supports 16k display surfaces
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index acebbc76c2f9..30d867c85825 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c | |||
@@ -1119,7 +1119,10 @@ int radeon_modeset_init(struct radeon_device *rdev) | |||
1119 | 1119 | ||
1120 | rdev->ddev->mode_config.funcs = (void *)&radeon_mode_funcs; | 1120 | rdev->ddev->mode_config.funcs = (void *)&radeon_mode_funcs; |
1121 | 1121 | ||
1122 | if (ASIC_IS_AVIVO(rdev)) { | 1122 | if (ASIC_IS_DCE5(rdev)) { |
1123 | rdev->ddev->mode_config.max_width = 16384; | ||
1124 | rdev->ddev->mode_config.max_height = 16384; | ||
1125 | } else if (ASIC_IS_AVIVO(rdev)) { | ||
1123 | rdev->ddev->mode_config.max_width = 8192; | 1126 | rdev->ddev->mode_config.max_width = 8192; |
1124 | rdev->ddev->mode_config.max_height = 8192; | 1127 | rdev->ddev->mode_config.max_height = 8192; |
1125 | } else { | 1128 | } else { |