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:
Chris Wilson 2013-02-01 18:25:48 +00:00
parent a5561f1349
commit 9807bba950
1 changed files with 0 additions and 1 deletions

View File

@ -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));