diff options
author | Keith Packard <keithp@keithp.com> | 2008-03-29 14:27:35 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-03-30 18:05:13 -0700 |
commit | 7dcb6e627449c80cea9812462ce6a3e125bd1240 (patch) | |
tree | c9f776e469460309ff8dd4ea74142ed9e841b2fc /src/i830_display.c | |
parent | d50264fc7c4e0f80d9cc68dfdf322f68520a0f1e (diff) |
Disable cursors while switching modes
Diffstat (limited to 'src/i830_display.c')
-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); } |