summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_bufmgr.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-07-31 15:40:12 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:08 -0800
commit1a9651f29af19e6fb6378f3e061038c8c6672d4e (patch)
treeae991aa34f9b3565c2d5ac959feb7daf88b66533 /src/gallium/drivers/iris/iris_bufmgr.c
parent796ad6fe975a58112565fa4f84c24fe0af46c9e2 (diff)
iris: remember to set bo->userptr
Diffstat (limited to 'src/gallium/drivers/iris/iris_bufmgr.c')
-rw-r--r--src/gallium/drivers/iris/iris_bufmgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c
index 72964c4f068..aaeab521f97 100644
--- a/src/gallium/drivers/iris/iris_bufmgr.c
+++ b/src/gallium/drivers/iris/iris_bufmgr.c
@@ -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;