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

Chris Wilson ickle at kemper.freedesktop.org
Fri Jan 18 02:18:30 PST 2013


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

New commits:
commit 38de17f80d780bf219fc3c4018ad9cc8808ba50f
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Jan 18 10:16:42 2013 +0000

    sna: Remove bogus assertion invalidated by 'read-read' sync
    
    If we perform a read-read synchronisation, the kernel may still believe
    that the bo is busy as it remains on the active lists being read by the
    GPU.
    
    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 1e6289d..ed13569 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -2268,7 +2268,6 @@ out:
 		DBG(("%s: syncing cpu bo\n", __FUNCTION__));
 		kgem_bo_sync__cpu_full(&sna->kgem,
 				       priv->cpu_bo, flags & MOVE_WRITE);
-		assert(!kgem_bo_is_busy(priv->cpu_bo));
 	}
 	priv->cpu = (flags & MOVE_ASYNC_HINT) == 0;
 	assert(pixmap->devPrivate.ptr);


More information about the xorg-commit mailing list