summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-13 21:41:59 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-13 21:41:59 -0400
commit224a73e41e9be344d5644203e7ebd5a3a8272604 (patch)
tree43df67b31fdbbcb0c12cab76e1cf5f148d12116f /src/radeon_display.c
parent9c2f20a83a5fed14225f4c3ebcd8ca41e9d4bd48 (diff)
RADEON: remove remnants of "old" multi-head support
The old screen based multi-head code is broken at this point and I have no intention of fixing it, so to clean things up I've removed it.
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index c5caf9cd..c3167bc3 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -1404,22 +1404,10 @@ void RADEONInitDispBandwidth(ScrnInfoPtr pScrn)
xf86CrtcPtr crtc;
int pixel_bytes2 = 0;
- if (pRADEONEnt->pSecondaryScrn) {
- if (info->IsSecondary) return;
- info2 = RADEONPTR(pRADEONEnt->pSecondaryScrn);
- } else if (pRADEONEnt->Controller[1]->binding == 1) info2 = info;
-
mode1 = info->CurrentLayout.mode;
- if ((pRADEONEnt->HasSecondary) && info2) {
- mode2 = info2->CurrentLayout.mode;
- } else {
- mode2 = NULL;
- }
+ mode2 = NULL;
+ pixel_bytes2 = info->CurrentLayout.pixel_bytes;
- if (info2)
- pixel_bytes2 = info2->CurrentLayout.pixel_bytes;
-
-
if (xf86_config->num_crtc == 2) {
pixel_bytes2 = 0;
mode2 = NULL;