diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-10-10 19:35:31 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-10-10 19:35:31 -0400 |
commit | 47ef583b993607bc3a372dd125c6e5228c4ec7bf (patch) | |
tree | f9d27ad8f13a11c43e6564ca913f5acb0f5a625f /src | |
parent | c9264aa53bf1470ad9104d1e7c4a8ce13c49c270 (diff) |
RADEON: more XPRESS connector table hacks
Seems XPRESS desktop chips with DVI-D list a proprietary
connector type rather than DVI-D. try and do the right thing.
Also, XPRESS chips seem to include connector type 8 and ddc
type 8 which are unknown at this time.
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_bios.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index cb61428a..1b46746b 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -257,6 +257,23 @@ static Bool RADEONGetLegacyConnectorInfoFromBIOS (ScrnInfoPtr pScrn) info->BiosConnector[i].DDCType = DDC_MONID; } + /* XPRESS desktop chips seem to have a proprietary connector listed for + * DVI-D, try and do the right thing here. + */ + if ((!info->IsMobility) && + (info->BiosConnector[i].ConnectorType == CONNECTOR_PROPRIETARY)) { + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, + "Proprietary connector found, assuming DVI-D\n"); + info->BiosConnector[i].DACType = DAC_NONE; + info->BiosConnector[i].TMDSType = TMDS_EXT; + info->BiosConnector[i].ConnectorType = CONNECTOR_DVI_D; + } + + if (info->BiosConnector[i].ConnectorType >= CONNECTOR_UNSUPPORTED) { + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Unknown connector type: %d!\n", + info->BiosConnector[i].ConnectorType); + info->BiosConnector[i].valid = FALSE; + } } } else { |