From 0e6634870d1ab38ee8c83f6bda1ba60364997853 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 19 Dec 2007 11:54:27 -0500 Subject: RADEON: skip empty connectors when creating outputs --- src/radeon_output.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3