summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-10-09 18:17:13 -0700
committerKeith Packard <keithp@keithp.com>2008-10-09 18:23:26 -0700
commitd09d938bf26ea0c44352ff6e7a57ba43f4047fdb (patch)
tree84a83b6e308eb6fefe9be9b9b1762b08ef2cc0c3
parentd24010b7b3f2419beb40dc5ae1e8aeb3e04b5a93 (diff)
i830 nondrm batch buffer insertion was missing ADVANCE_LP_RING() call
The ring commands to insert a batch buffer to the ring in i830 form were not terminated by a call to ADVANCE_LP_RING(). This surely would have caused chaos. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/i830_batchbuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_batchbuffer.c b/src/i830_batchbuffer.c
index 3727f0ea..b7b8f18e 100644
--- a/src/i830_batchbuffer.c
+++ b/src/i830_batchbuffer.c
@@ -64,6 +64,7 @@ intel_nondrm_exec_i830(dri_bo *bo, unsigned int used, void *priv)
OUT_RING(bo->offset);
OUT_RING(bo->offset + pI830->batch_used - 4);
OUT_RING(MI_NOOP);
+ ADVANCE_LP_RING();
return 0;
}