summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i830_driver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index e5d0bb1e..b281affd 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -4967,6 +4967,11 @@ I830BIOSLeaveVT(int scrnIndex, int flags)
TimerCancel(pI830->devicesTimer);
pI830->devicesTimer = NULL;
+#ifdef I830_XV
+ /* Give the video overlay code a chance to shutdown. */
+ I830VideoSwitchModeBefore(pScrn, NULL);
+#endif
+
if (pI830->Clone) {
/* Ensure we don't try and setup modes on a clone head */
pI830->CloneHDisplay = 0;