aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_legacy_crtc.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2014-11-21 11:48:57 +0900
committerAlex Deucher <alexander.deucher@amd.com>2014-12-03 14:26:44 -0500
commit6d3759fac636028849f3bbec80c4b77e9bfdb1d2 (patch)
tree616375c5fdc12324a8fab230ccdeafc495fa7525 /drivers/gpu/drm/radeon/radeon_legacy_crtc.c
parentMerge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux into drm-next (diff)
downloadlinux-dev-6d3759fac636028849f3bbec80c4b77e9bfdb1d2.tar.xz
linux-dev-6d3759fac636028849f3bbec80c4b77e9bfdb1d2.zip
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_legacy_crtc.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_legacy_crtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c
index cafb1ccf2ec3..678b4386540d 100644
--- a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c
+++ b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c
@@ -1054,6 +1054,7 @@ static int radeon_crtc_mode_set(struct drm_crtc *crtc,
DRM_ERROR("Mode need scaling but only first crtc can do that.\n");
}
}
+ radeon_cursor_reset(crtc);
return 0;
}