diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c index 18297b4abde..088f34f1e28 100755 --- a/src/gallium/drivers/iris/iris_bufmgr.c +++ b/src/gallium/drivers/iris/iris_bufmgr.c @@ -1514,7 +1514,7 @@ bo_free(struct iris_bo *bo) if (!bo->real.userptr && bo->real.map) bo_unmap(bo); - if (bo->idle) { + if (bo->idle || !iris_bo_busy(bo)) { bo_close(bo); } else { /* Defer closing the GEM BO and returning the VMA for reuse until the