i915g: use y-tiling when the blitter is not used
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Mar 2011 15:08:11 +0000 (16:08 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 12 Mar 2011 19:32:29 +0000 (20:32 +0100)
The blitter is broken. Who'd have guessed?

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_resource_texture.c

index df60493b5e43a8ea3a6de7c4e39372cc2619a79d..cfb72e9dcacf658eabdc19a7a69b63172116d490 100644 (file)
@@ -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;
 }