summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer-ubuntu.(none)>2006-09-18 06:25:15 +1000
committerDave Airlie <airlied@linux.ie>2006-09-18 06:25:15 +1000
commit0a93936f9f048b8837f1c765fea7ccb61f072697 (patch)
treec008b50fd0d17fef4837b308329d6169fc1c1970 /src/radeon_display.c
parent6da5a0bfdedb2062ec835f45514c22917abdcf4c (diff)
radeon: restore secondary head behaviour
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 21c23f5b..60b34495 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -877,6 +877,7 @@ BOOL RADEONQueryConnectedMonitors(ScrnInfoPtr pScrn)
max_mt = 5;
if(info->IsSecondary) {
+ pScrn->monitor->DDC = pRADEONEnt->Controller[1].pPort->MonInfo;
info->DisplayType = (RADEONMonitorType)pRADEONEnt->Controller[1].pPort->MonType;
if(info->DisplayType == MT_NONE) return FALSE;
return TRUE;
@@ -1173,13 +1174,8 @@ BOOL RADEONQueryConnectedMonitors(ScrnInfoPtr pScrn)
}
}
- if (info->IsSecondary) {
- pScrn->monitor->DDC = pRADEONEnt->Controller[1].pPort->MonInfo;
- info->DisplayType = pRADEONEnt->Controller[1].pPort->MonType;
- } else {
- pScrn->monitor->DDC = pRADEONEnt->Controller[0].pPort->MonInfo;
- info->DisplayType = pRADEONEnt->Controller[0].pPort->MonType;
- }
+ pScrn->monitor->DDC = pRADEONEnt->Controller[0].pPort->MonInfo;
+ info->DisplayType = pRADEONEnt->Controller[0].pPort->MonType;
pRADEONEnt->ReversedDAC = FALSE;
info->OverlayOnCRTC2 = FALSE;