summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-30 22:13:05 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-31 15:36:17 +0000
commit2f5448f1329f344702e4e29b2509d7190677bbf0 (patch)
treed63e524ada423c610d93f84e6b3b77c089a13eb3 /src
parente82b3d8069629ae5776e039d6ea1f3c901a3a094 (diff)
sna: compare tiling against minimum width for relevancy
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/kgem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 45aa5f89..89b464ef 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -1788,7 +1788,7 @@ int kgem_choose_tiling(struct kgem *kgem, int tiling, int width, int height, int
tiling = I915_TILING_NONE;
goto done;
}
- if (tiling == I915_TILING_Y && width * bpp <= 8*32/2) {
+ if (tiling == I915_TILING_Y && width * bpp <= 8*128/2) {
DBG(("%s: too thin [%d] for TILING_Y\n",
__FUNCTION__, width));
tiling = I915_TILING_NONE;