diff options
author | Dave Airlie <airlied@starflyer-ubuntu.(none)> | 2006-09-18 06:25:15 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-18 06:25:15 +1000 |
commit | 0a93936f9f048b8837f1c765fea7ccb61f072697 (patch) | |
tree | c008b50fd0d17fef4837b308329d6169fc1c1970 /src | |
parent | 6da5a0bfdedb2062ec835f45514c22917abdcf4c (diff) |
radeon: restore secondary head behaviour
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_display.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c index 21c23f5..60b3449 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; |