summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/radeon_display.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index d4264f60..6aa87d47 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -1351,14 +1351,15 @@ Bool RADEONMapControllers(ScrnInfoPtr pScrn)
info->DisplayType = pRADEONEnt->Controller[1].pPort->MonType;
pScrn->monitor->DDC = pRADEONEnt->Controller[1].pPort->MonInfo;
} else {
- pRADEONEnt->Controller[1].binding = 1;
+ pRADEONEnt->Controller[0].binding = 1;
info->DisplayType = pRADEONEnt->Controller[0].pPort->MonType;
pScrn->monitor->DDC = pRADEONEnt->Controller[0].pPort->MonInfo;
}
if(!pRADEONEnt->HasSecondary) {
- pRADEONEnt->Controller[1].binding = 1;
info->MergeType = pRADEONEnt->Controller[1].pPort->MonType;
+ if (info->MergeType)
+ pRADEONEnt->Controller[1].binding = 1;
}
} else {
if (pRADEONEnt->Controller[0].pPort->MonType == MT_NONE)