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

Chris Wilson ickle at kemper.freedesktop.org
Wed May 22 01:44:30 PDT 2013


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

New commits:
commit 87295b1ef85505689ce326137c2794230fb3f35f
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed May 22 09:43:16 2013 +0100

    sna: Remove the overzealous assert
    
    IGNORE_CPU is sometimes only set when there is CPU damage to ignore...
    
    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 1e58860..371abb0 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -2947,8 +2947,6 @@ sna_drawable_use_bo(DrawablePtr drawable, unsigned flags, const BoxRec *box,
 	     box->x1, box->y1, box->x2, box->y2,
 	     flags));
 
-	assert((flags & REPLACES) == 0 || (flags & IGNORE_CPU));
-
 	assert(box->x2 > box->x1 && box->y2 > box->y1);
 	assert(pixmap->refcnt);
 	assert_pixmap_damage(pixmap);


More information about the xorg-commit mailing list