summaryrefslogtreecommitdiff
path: root/src/sna/sna_dri2.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-08-19 20:24:37 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-08-19 20:24:37 +0100
commit819971e7a62e695fe4b75af80557b783c8caafd3 (patch)
tree3b1a609ffca328176f7c9acfd4531308b7a558ab /src/sna/sna_dri2.c
parent6f3e81d430dc80d892d3ffe8b101ff991040237a (diff)
sna/dri2: Remove stale active buffer assert
Since the DRI2BufferPtr destruction may be delayed, by the time we do free it, the state may no longer be accurate. (At this level at least, there is a later assertion to the same regard just as we think we are releasing the buffer.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_dri2.c')
-rw-r--r--src/sna/sna_dri2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 177b921d..f1d7a6e2 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -821,7 +821,6 @@ sna_dri2_cache_bo(struct sna *sna,
return;
err:
- assert(bo->active_scanout == 0 || bo->scanout);
kgem_bo_destroy(&sna->kgem, bo);
}