diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-09-19 19:49:58 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-09-19 19:49:58 -0400 |
commit | 46ff78b9f010ca24178d4363761be00eb3ecb632 (patch) | |
tree | 61a26d6f09e8eab209c9074fbceadd6bba802dc2 | |
parent | 509ca0cb0e1cde905b47db2bbac6f2a58523b279 (diff) |
RADEON: add default connector setup for single crtc chips
-rw-r--r-- | src/radeon_output.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 5cbf838..f9a21bb 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -2548,6 +2548,16 @@ static Bool RADEONSetupAppleConnectors(ScrnInfoPtr pScrn) static void RADEONSetupGenericConnectors(ScrnInfoPtr pScrn) { RADEONInfoPtr info = RADEONPTR(pScrn); + RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn); + + if (!pRADEONEnt->HasCRTC2) { + info->BiosConnector[0].DDCType = DDC_VGA; + info->BiosConnector[0].DACType = DAC_PRIMARY; + info->BiosConnector[0].TMDSType = TMDS_NONE; + info->BiosConnector[0].ConnectorType = CONNECTOR_CRT; + info->BiosConnector[0].valid = TRUE; + return; + } if (info->IsMobility) { /* Below is the most common setting, but may not be true */ |