summaryrefslogtreecommitdiff
path: root/src/sna/sna_tiling.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-03-20 22:57:50 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-03-21 09:05:58 +0000
commit1db1eced5462723811e535a53cb41b108fc6c5a3 (patch)
treed13bb750eb152ec1b958b6dabefbadbc562b134f /src/sna/sna_tiling.c
parent38b0cc24b45afd4ed57187fb066896bf1e467f45 (diff)
sna: Tidy an assertion when handling tiled copies
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_tiling.c')
-rw-r--r--src/sna/sna_tiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_tiling.c b/src/sna/sna_tiling.c
index 493e3132..dcb4d1dc 100644
--- a/src/sna/sna_tiling.c
+++ b/src/sna/sna_tiling.c
@@ -389,8 +389,8 @@ sna_tiling_fill_boxes(struct sna *sna,
int16_t dx = this.extents.x1;
int16_t dy = this.extents.y1;
+ assert(kgem_bo_can_blt(&sna->kgem, bo));
assert(bo->pitch <= 8192);
- assert(bo->tiling != I915_TILING_Y);
if (!sna->render.copy_boxes(sna, GXcopy,
dst, dst_bo, 0, 0,