diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-18 10:16:42 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-18 10:16:42 +0000 |
commit | 38de17f80d780bf219fc3c4018ad9cc8808ba50f (patch) | |
tree | 290796a9c1b42d91a78bfc172baed499b9e36542 /src/sna/sna_accel.c | |
parent | 9f68ac60ae37cc72503ec40691d1ae43a476f8e7 (diff) |
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@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 1e6289d3..ed13569d 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); |