summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-02-12 18:56:53 +0100
committerAlex Deucher <alexander.deucher@amd.com>2014-02-18 19:41:01 +0100
commitbea61c59d799c23591da2b29444ecc649a8682cf (patch)
tree6918adbe1ce67f0f4bce8b80cef07cee966bee15 /drivers/gpu
parentdrm: add DRM_CAPs for cursor size (diff)
downloadlinux-bea61c59d799c23591da2b29444ecc649a8682cf.tar.xz
linux-bea61c59d799c23591da2b29444ecc649a8682cf.zip
drm/radeon: fill in DRM_CAPs for cursor size
CIK parts are 128x128, older parts are 64x64. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/radeon_display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index d680608f6f5b..fbd8b930f2be 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -571,6 +571,8 @@ static void radeon_crtc_init(struct drm_device *dev, int index)
radeon_crtc->max_cursor_width = CURSOR_WIDTH;
radeon_crtc->max_cursor_height = CURSOR_HEIGHT;
}
+ dev->mode_config.cursor_width = radeon_crtc->max_cursor_width;
+ dev->mode_config.cursor_height = radeon_crtc->max_cursor_height;
#if 0
radeon_crtc->mode_set.crtc = &radeon_crtc->base;