diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_driver.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 75e5b65f..1583d399 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -320,6 +320,8 @@ I830DumpModeDebugInfo(ScrnInfoPtr pScrn) CARD32 temp, planeA, planeB; planeA = INREG(DSPACNTR); planeB = INREG(DSPBCNTR); + int i; + #if 1 DR(ADPA); @@ -467,16 +469,14 @@ I830DumpModeDebugInfo(ScrnInfoPtr pScrn) DR(0x240c); -#if 0 - if (pI830->sdvo && pI830->sdvo->found) { - I830SDVOWriteCommand10(pI830->sdvo); - I830SDVOWriteCommand18(pI830->sdvo); - I830SDVOWriteCommand10(pI830->sdvo); - I830SDVOWriteCommand19(pI830->sdvo); - I830SDVOWriteCommand10(pI830->sdvo); + for (i=0; i<pI830->num_outputs; i++) { + if (pI830->output[i].type == I830_OUTPUT_DVO && + pI830->output[i].i2c_drv != NULL) + { + pI830->output[i].i2c_drv->vid_rec->PrintRegs(pI830->output[i].i2c_drv->devpriv); + } } #endif -#endif } /* XXX Check if this is still needed. */ |