diff options
author | Alex Deucher <alex@cube.(none)> | 2008-03-06 17:46:00 -0500 |
---|---|---|
committer | Alex Deucher <alex@cube.(none)> | 2008-03-06 17:46:00 -0500 |
commit | 77355de48057e5e7e0d5b3f3cf5a7a92220a53b1 (patch) | |
tree | 13a090eb925bc648019d6999d5fc6aa9291dd520 /src/radeon_atombios.c | |
parent | 600dbe080997a01ceaf6be86723189d518bc1281 (diff) |
AVIVO: don't add outputs for invalid connectors
Diffstat (limited to 'src/radeon_atombios.c')
-rw-r--r-- | src/radeon_atombios.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index 91160f9b..add81d0a 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -1530,7 +1530,10 @@ RADEONGetATOMConnectorInfoFromBIOSObject (ScrnInfoPtr pScrn) ErrorF("object id %04x %02x\n", obj_id, SrcDstTable->ucNumberOfSrc); info->BiosConnector[i].ConnectorType = object_connector_convert[obj_id]; - info->BiosConnector[i].valid = TRUE; + if (info->BiosConnector[i].ConnectorType == CONNECTOR_NONE) + info->BiosConnector[i].valid = FALSE; + else + info->BiosConnector[i].valid = TRUE; info->BiosConnector[i].devices = 0; for (j = 0; j < SrcDstTable->ucNumberOfSrc; j++) { |