summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-05-09 13:02:22 +1000
committerDave Airlie <airlied@linux.ie>2006-06-02 10:02:40 +1000
commit225a1c2ac4400ab646a9f5d9b90b32bc8c056f5a (patch)
tree1538b0baee5d16162f75ae41cedb3ceafa471fc4 /src/i830_driver.c
parentf45c1a70e5f7fff082a206ab64d8e6783d4c894f (diff)
make DDC work on SDVO connector
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index dc1f0ac7..758e765d 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2347,14 +2347,10 @@ void I830DetectMonitors(ScrnInfoPtr pScrn)
case I830_OUTPUT_SDVO:
if (pI830->output[i].sdvo_drv)
{
-#if 0
- I830SDVOSetupDDC(pI830->output[i].sdvo_drv, 2);
-
- pI830->output[i].MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pI830->output[i].pI2CBus);
+ pI830->output[i].MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pI830->output[i].pDDCBus);
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "DDC SDVO %d, %08X\n", i, pI830->output[i].pI2CBus->DriverPrivate.uval);
xf86PrintEDID(pI830->output[i].MonInfo);
-#endif
}
break;
case I830_OUTPUT_UNUSED: