From 1a9651f29af19e6fb6378f3e061038c8c6672d4e Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 31 Jul 2018 15:40:12 -0700 Subject: [PATCH] iris: remember to set bo->userptr --- src/gallium/drivers/iris/iris_bufmgr.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2