summaryrefslogtreecommitdiff
path: root/src/sna/gen8_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-22 19:45:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-04-22 20:35:07 +0100
commit52bc0b119cab977b82cbbd96f689b7376b83d6f2 (patch)
tree0dfced1af5205f9799475afd486bb5f79d5adf4a /src/sna/gen8_render.c
parent45475fb7c9d84579c836b5893571c5185d568198 (diff)
sna/gen6: Do not force a blt switch onto a Y-tiled surface
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen8_render.c')
-rw-r--r--src/sna/gen8_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c
index b40c582a..660fc5a2 100644
--- a/src/sna/gen8_render.c
+++ b/src/sna/gen8_render.c
@@ -2766,7 +2766,7 @@ prefer_blt_copy(struct sna *sna,
if (flags & COPY_DRI && !sna->kgem.has_semaphores)
return false;
- if (force_blt_ring(sna))
+ if (force_blt_ring(sna, dst_bo))
return true;
if ((flags & COPY_SMALL ||