浏览代码

drm/radeon/kms: DCE5 supports 16k display surfaces

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Alex Deucher 14 年之前
父节点
当前提交
881dd74ea7
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      drivers/gpu/drm/radeon/radeon_display.c

+ 4 - 1
drivers/gpu/drm/radeon/radeon_display.c

@@ -1119,7 +1119,10 @@ int radeon_modeset_init(struct radeon_device *rdev)
 
 
 	rdev->ddev->mode_config.funcs = (void *)&radeon_mode_funcs;
 	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_width = 8192;
 		rdev->ddev->mode_config.max_height = 8192;
 		rdev->ddev->mode_config.max_height = 8192;
 	} else {
 	} else {