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

Chris Wilson ickle at kemper.freedesktop.org
Wed Sep 5 04:16:48 PDT 2012


 src/sna/sna_accel.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6a1423547769c24d15f6475628981d14a76a4bb2
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Sep 5 12:15:52 2012 +0100

    sna: Initialise the empty boxes field of the region before subtracting it
    
    Fixes regression from commit 38fb77af757318e5fb6f605b37306ce4585b11a5
    Author: Chris Wilson <chris at chris-wilson.co.uk>
    Date:   Wed Sep 5 08:23:34 2012 +0100
    
        sna: Don't upload ignored cpu damage
    
    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 41f53d4..1a02db3 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -2590,6 +2590,7 @@ sna_drawable_use_bo(DrawablePtr drawable, unsigned flags, const BoxRec *box,
 			region.extents.x2 += dx;
 			region.extents.y1 += dy;
 			region.extents.y2 += dy;
+			region.data = NULL;
 
 			sna_damage_subtract(&priv->cpu_damage, &region);
 			if (priv->cpu_damage == NULL) {


More information about the xorg-commit mailing list