sna/gen7: Only fallback to BLT for a redirected target

As we can always use a partial surface for the source.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-07-14 15:42:19 +01:00
parent 9f05b0c03b
commit d30dc59651
1 changed files with 1 additions and 2 deletions

View File

@ -3369,8 +3369,7 @@ gen7_render_copy_boxes(struct sna *sna, uint8_t alu,
box, n))
return true;
if ((too_large(dst->drawable.width, dst->drawable.height) ||
too_large(src->drawable.width, src->drawable.height)) &&
if (too_large(dst->drawable.width, dst->drawable.height) ||
sna_blt_compare_depth(&src->drawable, &dst->drawable)) {
BoxRec extents = box[0];
int i;