summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-12-19 11:54:27 -0500
committerAlex Deucher <alex@botch2.(none)>2007-12-19 11:54:27 -0500
commit0e6634870d1ab38ee8c83f6bda1ba60364997853 (patch)
treef8e7795555530e7f117c1c9823e624c5020d5974 /src
parent6afbf718c151dc3c5c59bd3136b58a93a114d798 (diff)
RADEON: skip empty connectors when creating outputs
Diffstat (limited to 'src')
-rw-r--r--src/radeon_output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index c60ece81..115666d8 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -3217,6 +3217,10 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
for (i = 0 ; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
if (info->BiosConnector[i].valid) {
+
+ if (info->BiosConnector[i].ConnectorType == CONNECTOR_NONE)
+ continue;
+
RADEONOutputPrivatePtr radeon_output = xnfcalloc(sizeof(RADEONOutputPrivateRec), 1);
if (!radeon_output) {
return FALSE;