summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-21 15:28:54 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-04-21 15:29:50 +0100
commit83b8528773a0b1e6655fa87c9645a0062cee1359 (patch)
tree391913e1bdfe6788a44b3bc3c10a156197b7a165 /src
parentd8401806b4c2dc41c6054c646080c8f79189b980 (diff)
sna: Fix ancient typo in DEFAULT_TILING == Y
We could just fix the typo, but that whole if block is redundant. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_accel.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 8e63b14e..4db011f3 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -632,15 +632,6 @@ static inline uint32_t default_tiling(struct sna *sna, PixmapPtr pixmap)
pixmap->drawable.height > sna->render.max_3d_size))
return I915_TILING_X;
- if (sna_damage_is_all(&sna_pixmap(pixmap)->cpu_damage,
- pixmap->drawable.width,
- pixmap->drawable.height)) {
- DBG(("%s: entire source is damaged, using Y-tiling\n",
- __FUNCTION__));
- sna_damage_destroy(&sna_pixmap(priv)->gpu_damage);
- return I915_TILING_Y;
- }
-
return I915_TILING_Y;
#endif
}