summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/intel/intel_mipmap_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
index 859bcd6d831..38c0149b262 100644
--- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
@@ -346,7 +346,7 @@ intel_miptree_choose_tiling(struct intel_context *intel,
if (width0 >= 64) {
if (ALIGN(mt->total_width * mt->cpp, 512) < 32768)
- return I915_TILING_X;
+ return intel->gen >= 6 ? I915_TILING_Y : I915_TILING_X;
perf_debug("%dx%d miptree too large to blit, falling back to untiled",
mt->total_width, mt->total_height);