summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-12-19 22:39:57 -0800
committerKeith Packard <keithp@guitar.keithp.com>2006-12-19 22:39:57 -0800
commit4ba72fc408e7fab7c384aff5e73f0cfb8fd86cf3 (patch)
treed63d8b33c80c961a1a02fa6213b18bf376619490 /src/i830_driver.c
parentc28075e1d70c98b39fc9829a6a01da171a9b9426 (diff)
Reinitialize DGA mode list whenever we update the global list.
DGA has a copy of the current mode list (yes, this is broken). Regenerate it whenever the ddx mode list changes.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 7309675b..d30af07c 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -3600,6 +3600,7 @@ I830CheckDevicesTimer(OsTimerPtr timer, CARD32 now, pointer arg)
xf86ProbeOutputModes (pScrn);
xf86SetScrnInfoModes (pScrn);
+ I830DGAReInit (pScrn->pScreen);
xf86SwitchMode(pScrn->pScreen, pScrn->currentMode);
/* Clear the BIOS's hotkey press flags */