From 874ff105bc63c4fc242fbabaec04fde2cb81fdd4 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sat, 3 Jun 2006 10:50:33 +0000 Subject: Bug #1889: Stop the CCE before an engine reset. (Conn) --- src/r128_accel.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/r128_accel.c') diff --git a/src/r128_accel.c b/src/r128_accel.c index bdaa258c..351594b5 100644 --- a/src/r128_accel.c +++ b/src/r128_accel.c @@ -221,6 +221,9 @@ void R128WaitForIdle(ScrnInfoPtr pScrn) INREG(R128_GUI_PROBE))); xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Idle timed out, resetting engine...\n"); +#ifdef XF86DRI + R128CCE_STOP(pScrn, info); +#endif R128EngineReset(pScrn); #ifdef XF86DRI R128CCE_RESET(pScrn, info); -- cgit v1.2.3