From: Kenneth Graunke Date: Tue, 31 Jul 2018 22:40:12 +0000 (-0700) Subject: iris: remember to set bo->userptr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a9651f29af19e6fb6378f3e061038c8c6672d4e;p=mesa.git iris: remember to set bo->userptr --- 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;