diff options
author | Dave Airlie <airlied@linux.ie> | 2006-09-27 18:12:52 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-27 18:12:52 +1000 |
commit | c0660495080719c052d6393ede707755929102cd (patch) | |
tree | c878b82f569098d8c97b1d14b494626833a1f0b1 | |
parent | 5b98545618141e86164f3ce66469f9e16b1cf6d4 (diff) |
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
-rw-r--r-- | src/radeon_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |