xf86-video-intel: src/sna/kgem.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Nov 6 15:30:17 PST 2015


 src/sna/kgem.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 694e9bc4e2e9a73ce72b1fb9ef8ecbf773b901fe
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Nov 6 23:28:32 2015 +0000

    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 at chris-wilson.co.uk>

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 7acc69e..b80fde7 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++;


More information about the xorg-commit mailing list