diff options
author | Keith Packard <keithp@keithp.com> | 2008-03-29 14:27:35 -0700 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-31 10:00:37 +0800 |
commit | 9835c2e987f4544206591f2f9c43e5a08e2e51bf (patch) | |
tree | d4b0df27aed714cd0e861e7693839604a4cd5f29 /src | |
parent | 46b771b2530f80218bc1ac8df10685ac13350c0f (diff) |
Disable cursors while switching modes
(cherry picked from commit 7dcb6e627449c80cea9812462ce6a3e125bd1240)
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_display.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_display.c b/src/i830_display.c index 5e52aaca..6a2d1d7b 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -901,9 +901,12 @@ i830_crtc_unlock (xf86CrtcPtr crtc) static void i830_crtc_prepare (xf86CrtcPtr crtc) { + I830CrtcPrivatePtr intel_crtc = crtc->driver_private; /* Temporarily turn off FB compression during modeset */ if (i830_use_fb_compression(crtc)) i830_disable_fb_compression(crtc); + if (intel_crtc->enabled) + crtc->funcs->hide_cursor (crtc); crtc->funcs->dpms (crtc, DPMSModeOff); } |