diff options
author | Adam Jackson <ajax@redhat.com> | 2008-11-03 15:01:58 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-11-03 15:01:58 -0500 |
commit | 52c034f5a41195f2b3193ec8c18b3f4ed7a763a3 (patch) | |
tree | 3db61f7b1428618f559bec9b4819139b75ba3128 /src/riva_setup.c | |
parent | b5f33108fea77280c9acd219954f20401f760faf (diff) |
Do E-EDID if built against a server that supports it.
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 ); |