summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-08-08 12:01:39 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2006-08-08 12:01:39 +0100
commit995b142f510d1daab3914d336f3c0d017a043b41 (patch)
treee5a13d0f97b7bd2e16095713d9556e988797da30 /src
parent8e5844bbf9c8880c9eb6eff29b6db2db06b01933 (diff)
Disable detecting of new monitors on VT switch.
It's doesn't always work. The modesetting branch will deal with hotplug displays correctly.
Diffstat (limited to 'src')
-rw-r--r--src/i830_driver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 84fb21a9..94a2c8f5 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -7765,9 +7765,13 @@ I830BIOSEnterVT(int scrnIndex, int flags)
ResetState(pScrn, FALSE);
SetHWOperatingState(pScrn);
- /* Detect monitor change and switch to suitable mode */
+#if 0
+ /* Disable this as it's clunky, and doesn't always work.
+ * The modesetting branch will deal with hotplug displays much better.
+ */
if (!pI830->starting)
I830DetectMonitorChange(pScrn);
+#endif
if (!I830VESASetMode(pScrn, pScrn->currentMode))
return FALSE;