From 6bd4fe42789c38e7e804826715214ce6badcca6a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 14 Jan 2007 18:38:59 +1100 Subject: disable dpms on/off as it was writing regs before we wanted to --- src/radeon_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/radeon_display.c') 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 */ -- cgit v1.2.3