xf86-video-intel: src/sna/sna_accel.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Apr 21 07:32:09 PDT 2015


 src/sna/sna_accel.c |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 83b8528773a0b1e6655fa87c9645a0062cee1359
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Apr 21 15:28:54 2015 +0100

    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 at chris-wilson.co.uk>

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 8e63b14..4db011f 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
 }


More information about the xorg-commit mailing list