diff options
Diffstat (limited to 'src/riva_setup.c')
-rw-r--r-- | src/riva_setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/riva_setup.c b/src/riva_setup.c index b7352b6..b616798 100644 --- a/src/riva_setup.c +++ b/src/riva_setup.c @@ -167,7 +167,12 @@ RivaProbeDDC (ScrnInfoPtr pScrn) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Probing for EDID...\n"); - if ((MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pRiva->I2C))) { +#ifdef EDID_COMPLETE_RAWDATA + MonInfo = xf86DoEEDID(pScrn->scrnIndex, pNv->I2C, TRUE); +#else + MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pNv->I2C); +#endif + if (MonInfo) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, " ... found one\n"); xf86PrintEDID( MonInfo ); |