diff options
-rw-r--r-- | freedreno/freedreno_bo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freedreno/freedreno_bo.c b/freedreno/freedreno_bo.c index 1cb67595..fee32fca 100644 --- a/freedreno/freedreno_bo.c +++ b/freedreno/freedreno_bo.c @@ -371,6 +371,7 @@ int fd_bo_get_name(struct fd_bo *bo, uint32_t *name) pthread_mutex_lock(&table_lock); set_name(bo, req.name); pthread_mutex_unlock(&table_lock); + bo->bo_reuse = 0; } *name = bo->name; @@ -395,6 +396,7 @@ int fd_bo_dmabuf(struct fd_bo *bo) } bo->fd = prime_fd; + bo->bo_reuse = 0; } return dup(bo->fd); } |