summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
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 405d96f..8b1a374 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);