summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-12-03 09:53:35 +1100
committerDave Airlie <airlied@linux.ie>2006-12-03 09:53:35 +1100
commit218cb7f8db35d0ce8f9fc4ece72bd5ec3f52106f (patch)
tree7be15f46a96c7deabe95a13545d91865b4d61a5e /src/radeon_driver.c
parentf22fd02bc7f7ef67e33c9bd93eae2d7488669b5e (diff)
radeon: dynamically allocate connectors
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 405d96fc..8b1a374b 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2821,8 +2821,14 @@ static Bool RADEONPreInitControllers(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10
{
RADEONInfoPtr info = RADEONPTR(pScrn);
- if (!info->IsSecondary)
- RADEONAllocateControllers(pScrn);
+ if (!info->IsSecondary) {
+ if (!RADEONAllocateConnectors(pScrn))
+ return FALSE;
+
+ if (!RADEONAllocateControllers(pScrn))
+ return FALSE;
+
+ }
RADEONGetBIOSInfo(pScrn, pInt10);