Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bea61c59 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: fill in DRM_CAPs for cursor size



CIK parts are 128x128, older parts are 64x64.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8716ed4e
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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_width = CURSOR_WIDTH;
		radeon_crtc->max_cursor_height = CURSOR_HEIGHT;
		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
#if 0
	radeon_crtc->mode_set.crtc = &radeon_crtc->base;
	radeon_crtc->mode_set.crtc = &radeon_crtc->base;