From 819971e7a62e695fe4b75af80557b783c8caafd3 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 19 Aug 2015 20:24:37 +0100 Subject: [PATCH] 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 --- src/sna/sna_dri2.c | 1 - 1 file changed, 1 deletion(-) 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); }