diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-21 21:21:46 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-23 07:53:07 +0000 |
commit | ff49944928c7399527b11bb0da7699711591c21a (patch) | |
tree | f20176e9127db1dfc1ee941a42fb76c6a5989873 | |
parent | cf4683209d11ca7382079feb242cc0c07fefc402 (diff) |
sna: Tighten assertion for tiling blt fallbacks
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_tiling.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/sna_tiling.c b/src/sna/sna_tiling.c index e21ede1b..2d11443f 100644 --- a/src/sna/sna_tiling.c +++ b/src/sna/sna_tiling.c @@ -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, |