diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-08-19 20:24:37 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-08-19 20:24:37 +0100 |
commit | 819971e7a62e695fe4b75af80557b783c8caafd3 (patch) | |
tree | 3b1a609ffca328176f7c9acfd4531308b7a558ab /src | |
parent | 6f3e81d430dc80d892d3ffe8b101ff991040237a (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')
-rw-r--r-- | src/sna/sna_dri2.c | 1 |
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); } |