summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-11-06 16:00:42 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-11-06 16:00:42 +0000
commita0540ebff083974688c863e08203e3d71a297340 (patch)
treeb649c3e99e80e77f3e6457c888a8e9a3c77a4996
parentaaaa6c356456a4bab595c6e6485893c538064e37 (diff)
sna/gen4: Remove a couple of old, now redundant, w/a flushes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen4_render.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index f095ea6d..76d1cb12 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -237,9 +237,6 @@ static void gen4_magic_ca_pass(struct sna *sna,
assert(op->mask.bo != NULL);
assert(op->has_component_alpha);
- if (FLUSH_EVERY_VERTEX)
- OUT_BATCH(MI_FLUSH | MI_INHIBIT_RENDER_CACHE_FLUSH);
-
gen4_emit_pipelined_pointers(sna, op, PictOpAdd,
gen4_choose_composite_kernel(PictOpAdd,
true, true, op->is_affine));
@@ -1382,9 +1379,6 @@ gen4_emit_state(struct sna *sna,
{
bool flush = false;
- if (FLUSH_EVERY_VERTEX)
- OUT_BATCH(MI_FLUSH | MI_INHIBIT_RENDER_CACHE_FLUSH);
-
gen4_emit_drawing_rectangle(sna, op);
flush |= gen4_emit_binding_table(sna, wm_binding_table);
flush |= gen4_emit_pipelined_pointers(sna, op, op->op, op->u.gen4.wm_kernel);