summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-08-05 03:19:24 -0400
committerAlex Deucher <alex@botch2.com>2007-08-05 03:19:24 -0400
commit0cca25d8d6a0cb0d29b68e6cd9c699d1390aede1 (patch)
tree1ecc27cbc0b0d6b29e7ee704c7368cacf0b4fb1a
parentba5496ae7973786802962bf649dd91c219531749 (diff)
RADEON: Fix DVI-I support in ATOM bios connector table parsing
-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 b79fea7..fe1d091 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -198,6 +198,18 @@ static Bool RADEONGetATOMConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
return FALSE;
}
+ /* DVI-I ports have 2 entries: one for analog, one for digital. combine them */
+ if (info->BiosConnector[0].valid && info->BiosConnector[7].valid) {
+ info->BiosConnector[0].TMDSType = info->BiosConnector[7].TMDSType;
+ info->BiosConnector[7].valid = FALSE;
+ }
+
+ if (info->BiosConnector[4].valid && info->BiosConnector[3].valid) {
+ info->BiosConnector[4].TMDSType = info->BiosConnector[3].TMDSType;
+ info->BiosConnector[3].valid = FALSE;
+ }
+
+
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Bios Connector table: \n");
for (i = 0; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
if (info->BiosConnector[i].valid) {