From b56b63bf937bd3ecaf47cbfc7d0c15f16155fd01 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 1 Apr 2015 18:13:50 +0100 Subject: [PATCH] sna: Relax a y-tiling fb assertion Signed-off-by: Chris Wilson --- src/sna/sna_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index f0cf481b..51e51333 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -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);