sna: Drop bogus refcnt assertion during kgem_bo_retire()
As we may call it kgem_bo_sync(), during preparation of the upload buffer which in turn may operate on an object straight out of the snoop cache and hence not yet referenced (or in some cases, ever). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
a5561f1349
commit
9807bba950
|
|
@ -394,7 +394,6 @@ static void kgem_bo_retire(struct kgem *kgem, struct kgem_bo *bo)
|
|||
DBG(("%s: retiring bo handle=%d (needed flush? %d), rq? %d [busy?=%d]\n",
|
||||
__FUNCTION__, bo->handle, bo->needs_flush, bo->rq != NULL,
|
||||
__kgem_busy(kgem, bo->handle)));
|
||||
assert(bo->refcnt);
|
||||
assert(bo->exec == NULL);
|
||||
assert(list_is_empty(&bo->vma));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue