Skip to content

Commit

Permalink
drm/radeon: fill in DRM_CAPs for cursor size
Browse files Browse the repository at this point in the history
CIK parts are 128x128, older parts are 64x64.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Alex Deucher committed Feb 18, 2014
1 parent 8716ed4 commit bea61c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/radeon/radeon_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bea61c5

Please sign in to comment.