From d09d938bf26ea0c44352ff6e7a57ba43f4047fdb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 9 Oct 2008 18:17:13 -0700 Subject: [PATCH] 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 --- src/i830_batchbuffer.c | 1 + 1 file changed, 1 insertion(+) 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; }