summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-09 15:48:40 +0200
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-09 15:48:40 +0200
commit2618cf2aa8ed76411b943eb90c95869814c2f151 (patch)
tree8c0b2b986e1c36018adcb1a633a176801272171b /src/radeon_display.c
parent61b9e79cbeee6f735a4c82ec8a802aee85d8b890 (diff)
More re-org to allow more than 2 outputs
- Move radeon output crtc map into crtc_set_mode - in modeinit, set up all outputs attached to crtc
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 7d31a526..e79895f3 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -1312,9 +1312,10 @@ Bool RADEONMapControllers(ScrnInfoPtr pScrn)
xf86OutputPtr output;
int o;
+ /*
pRADEONEnt->PortInfo[0]->crtc_num = 1;
pRADEONEnt->PortInfo[1]->crtc_num = 2;
-
+ */
for (o = 0; o < xf86_config->num_output; o++) {
output = xf86_config->output[o];
radeon_output = output->driver_private;
@@ -2251,6 +2252,7 @@ radeon_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
if (output->crtc == crtc) {
montype = radeon_output->MonType;
+ radeon_output->crtc_num = radeon_crtc->crtc_id + 1;
}
}