summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-11-06 23:28:32 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-11-06 23:28:32 +0000
commit694e9bc4e2e9a73ce72b1fb9ef8ecbf773b901fe (patch)
tree4745079712a9464e47cba9805ef1b96a7c491b8d
parentb1015d4de0cb040dc47ebfbef1114b65269f6f36 (diff)
sna: Remove bogus assertion from last patch
The dangers of adding seemingly benign assertions at the last moment - the assertion is only true for some of the request->bo. Drop it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-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 7acc69eb..b80fde73 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -4070,7 +4070,6 @@ void _kgem_submit(struct kgem *kgem)
if (rq->bo) {
struct drm_i915_gem_execbuffer2 execbuf;
- assert(rq->bo->refcnt == 1);
assert(!rq->bo->needs_flush);
i = kgem->nexec++;