summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-01-14 18:38:59 +1100
committerDave Airlie <airlied@linux.ie>2007-01-14 18:38:59 +1100
commit6bd4fe42789c38e7e804826715214ce6badcca6a (patch)
tree93b527740a6802bcba5477fdac7a57103e4b5d79 /src/radeon_display.c
parent3949288ed26a91e180b178f4796f2f7e1bdc8ed6 (diff)
disable dpms on/off as it was writing regs before we wanted to
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 15e25ebc..0819e540 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -2813,6 +2813,7 @@ RADEONCrtcSetMode(xf86CrtcPtr crtc, DisplayModePtr pMode)
goto done;
}
+#if 0
/* Disable the outputs and CRTCs before setting the mode. */
for (i = 0; i < xf86_config->num_output; i++) {
xf86OutputPtr output = xf86_config->output[i];
@@ -2825,6 +2826,7 @@ RADEONCrtcSetMode(xf86CrtcPtr crtc, DisplayModePtr pMode)
}
crtc->funcs->dpms(crtc, DPMSModeOff);
+#endif
/* Set up the DPLL and any output state that needs to adjust or depend
* on the DPLL.
@@ -2836,6 +2838,7 @@ RADEONCrtcSetMode(xf86CrtcPtr crtc, DisplayModePtr pMode)
output->funcs->mode_set(output, pMode, adjusted_mode);
}
+#if 0
/* Now, enable the clocks, plane, pipe, and outputs that we set up. */
crtc->funcs->dpms(crtc, DPMSModeOn);
for (i = 0; i < xf86_config->num_output; i++) {
@@ -2843,7 +2846,7 @@ RADEONCrtcSetMode(xf86CrtcPtr crtc, DisplayModePtr pMode)
if (output->crtc == crtc)
output->funcs->dpms(output, DPMSModeOn);
}
-
+#endif
crtc->curMode = *pMode;
/* XXX free adjustedmode */