diff options
Diffstat (limited to 'src/radeon_bios.c')
-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 { |