sna: Relax a y-tiling fb assertion

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-04-01 18:13:50 +01:00
parent f00599f971
commit b56b63bf93
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ static unsigned get_fb(struct sna *sna, struct kgem_bo *bo,
DBG(("%s: create fb %dx%d@%d/%d\n",
__FUNCTION__, width, height, scrn->depth, scrn->bitsPerPixel));
assert(bo->tiling != I915_TILING_Y);
assert(bo->tiling != I915_TILING_Y || sna->kgem.can_scanout_y);
assert((bo->pitch & 63) == 0);
VG_CLEAR(arg);