From c0660495080719c052d6393ede707755929102cd Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 27 Sep 2006 18:12:52 +1000 Subject: radeon: check DDC info for both connectors not just the pScrn one. Otherwise we disable DDC before we've checked the CRT if LVDS is in use --- src/radeon_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radeon_driver.c b/src/radeon_driver.c index f6198ba2..db1ae664 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2768,7 +2768,7 @@ static Bool RADEONPreInitModes(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10) "Validating modes on %s head ---------\n", info->IsSecondary ? "Secondary" : "Primary"); - if (!pScrn->monitor->DDC && info->ddc_mode) { + if (!pRADEONEnt->Controller[0].pPort->MonInfo && !pRADEONEnt->Controller[1].pPort->MonInfo && info->ddc_mode) { info->ddc_mode = FALSE; xf86DrvMsg(pScrn->scrnIndex, X_INFO, "No DDC data available, DDCMode option is dismissed\n"); -- cgit v1.2.3