summaryrefslogtreecommitdiff
path: root/src/g80_output.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/g80_output.c
parentb5f33108fea77280c9acd219954f20401f760faf (diff)
Do E-EDID if built against a server that supports it.
Diffstat (limited to 'src/g80_output.c')
-rw-r--r--src/g80_output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/g80_output.c b/src/g80_output.c
index e906fbb..420a73e 100644
--- a/src/g80_output.c
+++ b/src/g80_output.c
@@ -307,7 +307,11 @@ ProbeDDC(I2CBusPtr i2c)
"Probing for EDID on I2C bus %i...\n", bus);
pNv->reg[addr/4] = 7;
/* Should probably use xf86OutputGetEDID here */
+#ifdef EDID_COMPLETE_RAWDATA
+ monInfo = xf86DoEEDID(pScrn->scrnIndex, i2c, TRUE);
+#else
monInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, i2c);
+#endif
pNv->reg[addr/4] = 3;
if(monInfo) {