crocus/bufmgr: fix userptr left over fail
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11538>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user