From ad05039cc83b40cf45c8221d69506d6c88c27a86 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 4 Mar 2013 10:11:22 +0000 Subject: sna/gen3: Always prefer BLT for copies Signed-off-by: Chris Wilson --- src/sna/gen3_render.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sna') diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c index 17b114de..3313e3e2 100644 --- a/src/sna/gen3_render.c +++ b/src/sna/gen3_render.c @@ -5774,8 +5774,7 @@ gen3_render_copy(struct sna *sna, uint8_t alu, #endif /* Prefer to use the BLT */ - if (sna->kgem.mode != KGEM_RENDER && - sna_blt_compare_depth(&src->drawable, &dst->drawable) && + if (sna_blt_compare_depth(&src->drawable, &dst->drawable) && sna_blt_copy(sna, alu, src_bo, dst_bo, dst->drawable.bitsPerPixel, -- cgit v1.2.3