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/nv_setup.c | |
parent | b5f33108fea77280c9acd219954f20401f760faf (diff) |
Do E-EDID if built against a server that supports it.
Diffstat (limited to 'src/nv_setup.c')
-rw-r--r-- | src/nv_setup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nv_setup.c b/src/nv_setup.c index bea0050..132a96b 100644 --- a/src/nv_setup.c +++ b/src/nv_setup.c @@ -229,7 +229,12 @@ NVProbeDDC (ScrnInfoPtr pScrn, int bus) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Probing for EDID on I2C bus %s...\n", bus ? "B" : "A"); - if ((MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pNv->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_PROBED, "DDC detected a %s:\n", MonInfo->features.input_type ? "DFP" : "CRT"); |