diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-04 10:11:22 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-04 10:11:22 +0000 |
commit | ad05039cc83b40cf45c8221d69506d6c88c27a86 (patch) | |
tree | 97295c3ba9d800e3326151a572f712a1dd4114f5 | |
parent | 59f030dd27eff5fbf9ddcd22faa3087bc9c5ff54 (diff) |
sna/gen3: Always prefer BLT for copies
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/gen3_render.c | 3 |
1 files changed, 1 insertions, 2 deletions
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, |