sna: Tighten assertion for tiling blt fallbacks
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Feb 2014 21:21:46 +0000 (21:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 23 Feb 2014 07:53:07 +0000 (07:53 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_tiling.c

index e21ede1..2d11443 100644 (file)
@@ -854,8 +854,7 @@ sna_tiling_blt_copy_boxes__with_alpha(struct sna *sna, uint8_t alu,
                                int16_t dx = this.extents.x1;
                                int16_t dy = this.extents.y1;
 
-                               assert(bo->pitch <= 8192);
-                               assert(bo->tiling != I915_TILING_Y);
+                               assert(kgem_bo_can_blt(&sna->kgem, bo));
 
                                if (!sna_blt_copy_boxes(sna, GXcopy,
                                                        src_bo, src_dx, src_dy,