From c813bf655908cd72049f346919abbdff8365b944 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 14 Apr 2005 22:55:01 +0000 Subject: Fix initial DDC parameters when validating modes. --- src/i830_driver.c | 4 ++-- 1 file 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 -- cgit v1.2.3