mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-14 18:03:07 +00:00
lib: fix the fix for gen5 workaround emmision
Fix the regression introduced in
commit bfbe813f8f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Tue May 29 22:14:06 2012 +0200
lib: fix gen5 workaround emission
Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user