summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-02-22 10:30:49 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-02-22 10:30:49 +0000
commit1a7262e5308c9ab416ed87226ed27a9fc84f0ef9 (patch)
tree79ad27c7558eecea32355175bd97b77c9e811ba7 /src
parentb0c83b77d0226cbaf6115eed5d0e2cc8a40ac51d (diff)
sna/gen7: Only a pipeline stall is required for the CA pass
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/gen7_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index f05d6f92..8a088399 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -1063,7 +1063,7 @@ static bool gen7_magic_ca_pass(struct sna *sna,
DBG(("%s: CA fixup (%d -> %d)\n", __FUNCTION__,
sna->render.vertex_start, sna->render.vertex_index));
- gen7_emit_pipe_invalidate(sna);
+ gen7_emit_pipe_stall(sna);
gen7_emit_cc(sna,
GEN7_BLEND(gen7_get_blend(PictOpAdd, true,
@@ -1304,7 +1304,7 @@ static int gen7_get_rectangles__flush(struct sna *sna,
if (sna->render.vertex_offset) {
gen4_vertex_flush(sna);
if (gen7_magic_ca_pass(sna, op)) {
- gen7_emit_pipe_invalidate(sna);
+ gen7_emit_pipe_stall(sna);
gen7_emit_cc(sna, GEN7_BLEND(op->u.gen7.flags));
gen7_emit_wm(sna, GEN7_KERNEL(op->u.gen7.flags));
}