summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-26 11:43:14 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-26 11:43:14 +0100
commitc9445af34a091f85d63f40982762fb58b267004d (patch)
tree6b5d0f8268a44a106dd0e29b5dd07e6cc741c316 /src
parent17f47afcbc5bbbebd2dfb97f7423514104da750d (diff)
sna: Remove a bogus assert
We keep active/inactive scanouts in the same cache, so drop the assert that they are all inactive - as it is handled a couple of lines later! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/kgem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 78116153..6946361f 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -3021,7 +3021,6 @@ void kgem_clean_scanout_cache(struct kgem *kgem)
assert(bo->scanout);
assert(bo->delta);
assert(!bo->refcnt);
- assert(bo->exec == NULL);
assert(bo->proxy == NULL);
if (bo->exec || __kgem_busy(kgem, bo->handle))