iris: remember to set bo->userptr

This commit is contained in:
Kenneth Graunke
2018-07-31 15:40:12 -07:00
parent 796ad6fe97
commit 1a9651f29a
+1
View File
@@ -690,6 +690,7 @@ iris_bo_create_userptr(struct iris_bufmgr *bufmgr, const char *name,
goto err_close;
p_atomic_set(&bo->refcount, 1);
bo->userptr = true;
bo->cache_coherent = true;
bo->index = -1;
bo->idle = true;