summaryrefslogtreecommitdiff
path: root/src/r128_accel.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-06-03 10:50:33 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-06-03 10:50:33 +0000
commit874ff105bc63c4fc242fbabaec04fde2cb81fdd4 (patch)
tree91b0cea0a8a7071c183e8be804488238632ba68d /src/r128_accel.c
parentf9db5595fe4d62c54b3a501b2af64b4e2b7035cd (diff)
Bug #1889: Stop the CCE before an engine reset. (Conn)
Diffstat (limited to 'src/r128_accel.c')
-rw-r--r--src/r128_accel.c3
1 files changed, 3 insertions, 0 deletions
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);