summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index d52f898f..caa85ce2 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2941,7 +2941,7 @@ static void RADEONUpdatePanelSize(ScrnInfoPtr pScrn)
xf86MonPtr ddc = pScrn->monitor->DDC;
DisplayModePtr p;
- if (info->UseBiosDividers && info->DotClock != 0)
+ if ((info->UseBiosDividers && info->DotClock != 0) || (ddc == NULL))
return;
/* Go thru detailed timing table first */