summaryrefslogtreecommitdiff
path: root/src/sna/gen6_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-25 10:52:17 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-25 10:53:07 +0100
commit3a05b1a4aa96f4d4484e7397b8e8d901819a3799 (patch)
tree7daa64151a1f917408ac52eb93b6f71931a14b6d /src/sna/gen6_render.c
parent5dfe9217f21870c2b3563fb2337254db316eea72 (diff)
sna/gen6+: Fallback to BLT composite if fallback is forced
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r--src/sna/gen6_render.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c
index 1f15091f..b014e9ec 100644
--- a/src/sna/gen6_render.c
+++ b/src/sna/gen6_render.c
@@ -2267,7 +2267,13 @@ gen6_render_composite(struct sna *sna,
return true;
if (gen6_composite_fallback(sna, src, mask, dst))
- return false;
+ return (mask == NULL &&
+ sna_blt_composite(sna, op,
+ src, dst,
+ src_x, src_y,
+ dst_x, dst_y,
+ width, height,
+ tmp, true));
if (need_tiling(sna, width, height))
return sna_tiling_composite(op, src, mask, dst,