summaryrefslogtreecommitdiff
path: root/src/riva_setup.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-11-03 15:01:58 -0500
committerAdam Jackson <ajax@redhat.com>2008-11-03 15:01:58 -0500
commit52c034f5a41195f2b3193ec8c18b3f4ed7a763a3 (patch)
tree3db61f7b1428618f559bec9b4819139b75ba3128 /src/riva_setup.c
parentb5f33108fea77280c9acd219954f20401f760faf (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.c7
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 );