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

Chris Wilson ickle at kemper.freedesktop.org
Mon Jun 30 02:56:15 PDT 2014


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

New commits:
commit ffe8bd4d6e296a0ded0e118aee05aa6cb3051c56
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Jun 30 10:55:20 2014 +0100

    sna: Silence snarky compliers
    
    0 != (void *)0
    
    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 6eafd26..fab0637 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -17814,7 +17814,7 @@ restart:
 	if (sna_scanout_do_flush(sna))
 		sna_scanout_flush(sna);
 	assert(sna_accel_scanout(sna) == NULL ||
-	       sna_accel_scanout(sna)->gpu_bo->needs_flush == NULL ||
+	       !sna_accel_scanout(sna)->gpu_bo->needs_flush ||
 	       sna->timer_active & (1<<(FLUSH_TIMER)));
 
 	if (sna_accel_do_throttle(sna))


More information about the xorg-commit mailing list