diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-22 10:34:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-24 22:08:48 +0100 |
commit | 719ffef7c39386c453614bc71e1af97904d3671b (patch) | |
tree | b441f3febb142a910be8e33e2318360146e6a21b /lib/intel_batchbuffer.c | |
parent | d73cdde45afc41fb7b36829eda1af763af682ada (diff) |
gem_stress: Add render copyfunc for SandyBridge
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_batchbuffer.c')
-rw-r--r-- | lib/intel_batchbuffer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 111f65d4..ffdc36c2 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -197,3 +197,10 @@ intel_copy_bo(struct intel_batchbuffer *batch, intel_batchbuffer_flush(batch); } + +void +intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch) +{ + intel_batchbuffer_require_space(batch, 4); + intel_batchbuffer_emit_dword(batch, MI_FLUSH); +} |