summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-09-17 23:28:51 -0400
committerAlex Deucher <alex@botch2.(none)>2007-09-17 23:28:51 -0400
commitc3ab53159d42157985a25e9125eaa5362273b73d (patch)
treed74c9904503a016d529a13ef5b9389e32f6944e8 /src/radeon_bios.c
parent1fafa970fa78ddea29a8804b6cd0aea52e4fa2e1 (diff)
RADEON: XPRESS connector tables are crap
besides specifying the pimary DAC (which they don't have), most seem to specify DDC_CRT2 for DDC, which does not seem to ever work. Some have reported success with DDC_MONID so lets give that a try.
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r--src/radeon_bios.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index af98cf73..1ca9e7e3 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -244,6 +244,18 @@ static Bool RADEONGetLegacyConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
info->BiosConnector[i].DACType = tmp & 0x1;
info->BiosConnector[i].TMDSType = tmp & 0x10;
+ /* most XPRESS chips seem to specify DDC_CRT2 for their
+ * VGA DDC port, however DDC never seems to work on that
+ * port. Some have reported success on DDC_MONID, so
+ * lets see what happens with that.
+ */
+ if (info->ChipFamily == CHIP_FAMILY_RS400 &&
+ info->BiosConnector[i].ConnectorType == CONNECTOR_CRT &&
+ info->BiosConnector[i].DDCType == DDC_CRT2) {
+ info->BiosConnector[i].DDCType = DDC_MONID;
+ }
+
+
}
} else {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "No Connector Info Table found!\n");