From d46c6084ce5b8c9d1d39aea0b391ea262a545343 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 11 Mar 2011 16:08:11 +0100 Subject: [PATCH] i915g: use y-tiling when the blitter is not used The blitter is broken. Who'd have guessed? Signed-off-by: Daniel Vetter --- src/gallium/drivers/i915/i915_resource_texture.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c index df60493b5e4..cfb72e9dcac 100644 --- a/src/gallium/drivers/i915/i915_resource_texture.c +++ b/src/gallium/drivers/i915/i915_resource_texture.c @@ -184,7 +184,10 @@ i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex) /* XXX X-tiling might make sense */ return I915_TILE_NONE; - return I915_TILE_X; + if (is->debug.use_blitter) + return I915_TILE_X; + else + return I915_TILE_Y; } -- 2.30.2