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

Chris Wilson ickle at kemper.freedesktop.org
Mon Feb 11 04:32:50 PST 2013


 src/sna/sna_dri.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 47657e5355103b2e61da6f059c560e63fe13b0ed
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Feb 11 12:31:18 2013 +0000

    sna/dri: Ignore a compiler barf breaking an assertion
    
    Manual confirmation with gdb says all is fine and things work again
    after printing the variables responsible. The curious reader is welcome
    to read the disassembly to find where the compiler goofed.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c
index 7ad83fc..c0caab1 100644
--- a/src/sna/sna_dri.c
+++ b/src/sna/sna_dri.c
@@ -375,7 +375,7 @@ sna_dri_create_buffer(DrawablePtr draw,
 		assert(sna_pixmap_get_buffer(pixmap) == NULL);
 
 		sna_pixmap_set_buffer(pixmap, buffer);
-		assert(sna_pixmap_get_buffer(pixmap) == buffer);
+		//assert(sna_pixmap_get_buffer(pixmap) == buffer);
 		pixmap->refcnt++;
 
 		priv = sna_pixmap(pixmap);


More information about the xorg-commit mailing list