diff options
author | Alex Deucher <alex@botch2.com> | 2007-08-05 03:19:24 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2007-08-05 03:19:24 -0400 |
commit | 0cca25d8d6a0cb0d29b68e6cd9c699d1390aede1 (patch) | |
tree | 1ecc27cbc0b0d6b29e7ee704c7368cacf0b4fb1a /src | |
parent | ba5496ae7973786802962bf649dd91c219531749 (diff) |
RADEON: Fix DVI-I support in ATOM bios connector table parsing
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_bios.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index b79fea72..fe1d0917 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) { |