crocus/bufmgr: fix userptr left over fail

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11538>
This commit is contained in:
Dave Airlie
2021-06-22 11:13:04 +10:00
parent 45c12da211
commit b76f229954
@@ -512,9 +512,6 @@ crocus_bo_create_userptr(struct crocus_bufmgr *bufmgr, const char *name,
bo->bufmgr = bufmgr;
bo->kflags = 0;
if (bo->gtt_offset == 0ull)
goto err_close;
p_atomic_set(&bo->refcount, 1);
bo->userptr = true;
bo->cache_coherent = true;