commit 95a78e6
Michael Forney
·
2013-09-07 04:15:08 +0000 UTC
parent 82330e0
intel: Don't tile buffers if width is small
1 files changed,
+1,
-1
M
intel.c
M
intel.c
+1,
-1
1@@ -150,7 +150,7 @@ struct drm_drawable * intel_create_drawable
2 uint32_t format)
3 {
4 struct intel_drawable * intel;
5- uint32_t tiling_mode = I915_TILING_X;
6+ uint32_t tiling_mode = width >= 128 ? I915_TILING_X : I915_TILING_NONE;
7
8 if (!(intel = new_drawable(context, width, height)))
9 return NULL;