diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-11-21 11:48:57 +0900 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-12-03 14:26:44 -0500 |
commit | 6d3759fac636028849f3bbec80c4b77e9bfdb1d2 (patch) | |
tree | 616375c5fdc12324a8fab230ccdeafc495fa7525 /drivers/gpu/drm/radeon/radeon_mode.h | |
parent | d5b75dc01fa9c699aee5f82f5dbe508da438ff94 (diff) | |
download | op-kernel-dev-6d3759fac636028849f3bbec80c4b77e9bfdb1d2.zip op-kernel-dev-6d3759fac636028849f3bbec80c4b77e9bfdb1d2.tar.gz |
drm/radeon: Re-show the cursor after a modeset
Setting a mode seems to clear the cursor registers, so we need to
re-program them to make sure the cursor is visible.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index f3d87cd..390db89 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h @@ -818,6 +818,7 @@ extern int radeon_crtc_cursor_set2(struct drm_crtc *crtc, int32_t hot_y); extern int radeon_crtc_cursor_move(struct drm_crtc *crtc, int x, int y); +extern void radeon_cursor_reset(struct drm_crtc *crtc); extern int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc, unsigned int flags, |