diff options
Diffstat (limited to 'freedreno/freedreno_bo.c')
-rw-r--r-- | freedreno/freedreno_bo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/freedreno/freedreno_bo.c b/freedreno/freedreno_bo.c index cf2d7cb9..996d6b95 100644 --- a/freedreno/freedreno_bo.c +++ b/freedreno/freedreno_bo.c @@ -99,7 +99,7 @@ fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) pthread_mutex_lock(&table_lock); bo = bo_from_handle(dev, size, handle); - bo->bo_reuse = 1; + bo->bo_reuse = TRUE; pthread_mutex_unlock(&table_lock); return bo; @@ -249,7 +249,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; + bo->bo_reuse = FALSE; } *name = bo->name; @@ -273,7 +273,7 @@ int fd_bo_dmabuf(struct fd_bo *bo) return ret; } - bo->bo_reuse = 0; + bo->bo_reuse = FALSE; return prime_fd; } |