From: Daniel Vetter Date: Fri, 11 Mar 2011 15:08:11 +0000 (+0100) Subject: i915g: use y-tiling when the blitter is not used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d46c6084ce5b8c9d1d39aea0b391ea262a545343;p=mesa.git i915g: use y-tiling when the blitter is not used The blitter is broken. Who'd have guessed? Signed-off-by: Daniel Vetter --- 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; }