summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2008-05-20 16:05:41 -0400
committerAlex Deucher <alex@botch2.com>2008-05-20 16:05:41 -0400
commit12f185634071980041aaac6265d89708b181b215 (patch)
treecdb9b109259b8e0f04d3e66a3702571e3d61a335 /src
parent19e97f74e39fc2b35727708ac429de33d0b70162 (diff)
ATOM: Ignore invalid connector entries
Diffstat (limited to 'src')
-rw-r--r--src/radeon_atombios.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index fed9d1ff..fb7d0020 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -1831,6 +1831,12 @@ RADEONGetATOMConnectorInfoFromBIOSConnectorTable (ScrnInfoPtr pScrn)
info->BiosConnector[i].output_id = ci.sucI2cId.sbfAccess.bfI2C_LineMux;
info->BiosConnector[i].devices = (1 << i);
info->BiosConnector[i].ConnectorType = ci.sucConnectorInfo.sbfAccess.bfConnectorType;
+
+ if (info->BiosConnector[i].ConnectorType == CONNECTOR_NONE) {
+ info->BiosConnector[i].valid = FALSE;
+ continue;
+ }
+
info->BiosConnector[i].DACType = ci.sucConnectorInfo.sbfAccess.bfAssociatedDAC;
/* don't assign a gpio for tv */