summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-04-14 22:55:01 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-04-14 22:55:01 +0000
commitc813bf655908cd72049f346919abbdff8365b944 (patch)
treeaf2643bec9080612ade899f7011d6d19ad5be785
parente637630908f40f42367c94344d44918b6cdb0eb2 (diff)
Fix initial DDC parameters when validating modes.XORG-6_8_99_3
-rw-r--r--src/i830_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index e3027a67..e4e538e8 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2652,8 +2652,6 @@ I830BIOSPreInit(ScrnInfoPtr pScrn, int flags)
xf86SetDDCproperties(pScrn, pI830->vesa->monitor);
xf86UnloadSubModule(pDDCModule);
- DDCclock = I830UseDDC(pScrn);
-
/* XXX Move this to a header. */
#define VIDEO_BIOS_SCRATCH 0x18
@@ -2755,6 +2753,8 @@ I830BIOSPreInit(ScrnInfoPtr pScrn, int flags)
defmon |= 2;
}
+ DDCclock = I830UseDDC(pScrn);
+
/*
* Note: VBE modes (> 0x7f) won't work with Intel's extended BIOS
* functions. For that reason it's important to set only