commit 7a53cfb0c40d5f72c63bc7a3ee533f978e8e3590 Author: Imre Deak Date: Fri Aug 30 22:09:14 2013 +0300 fix ilk ring flush workaround Signed-off-by: Imre Deak diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 8dfadfb..6788b02 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -87,8 +87,9 @@ flush_on_ring_common(struct intel_batchbuffer *batch, int ring) /* emit gen5 w/a without batch space checks - we reserve that * already. */ *(uint32_t *) (batch->ptr) = CMD_POLY_STIPPLE_OFFSET << 16; + batch->ptr += 4; *(uint32_t *) (batch->ptr) = 0; - batch->ptr += 8; + batch->ptr += 4; } /* Round batchbuffer usage to 2 DWORDs. */