From 77355de48057e5e7e0d5b3f3cf5a7a92220a53b1 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 6 Mar 2008 17:46:00 -0500 Subject: AVIVO: don't add outputs for invalid connectors --- src/radeon_atombios.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/radeon_atombios.c') 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++) { -- cgit v1.2.3