Index: radeon_driver.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v retrieving revision 1.23 diff -u -r1.23 radeon_driver.c --- radeon_driver.c 11 Oct 2004 23:20:26 -0000 1.23 +++ radeon_driver.c 20 Oct 2004 03:53:03 -0000 @@ -1344,12 +1344,17 @@ static Bool RADEONGetLVDSInfo (ScrnInfoPtr pScrn) { RADEONInfoPtr info = RADEONPTR(pScrn); + RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn); + + if (!RADEONGetLVDSInfoFromBIOS(pScrn)) { + /* when there is DDC, let driver collect info from EDID. + */ + if (pRADEONEnt->MonInfo1) return TRUE; - if (!RADEONGetLVDSInfoFromBIOS(pScrn)) RADEONGetPanelInfoFromReg(pScrn); + } if (info->DotClock == 0) { - RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn); DisplayModePtr tmp_mode = NULL; xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "No valid timing info from BIOS.\n"); @@ -1422,6 +1427,9 @@ RADEONGetPanelInfoFromReg(pScrn); } } else { + info->DotClock = 0; + info->PanelXRes = 0; + info->PanelYRes = 0; if(info->DisplayType == MT_LCD) { RADEONGetLVDSInfo(pScrn);