freedreno: ocd
Signed-off-by: Rob Clark <robclark@freedesktop.org>
diff --git a/freedreno/freedreno_bo.c b/freedreno/freedreno_bo.c
index cf2d7cb..996d6b9 100644
--- a/freedreno/freedreno_bo.c
+++ b/freedreno/freedreno_bo.c
@@ -99,7 +99,7 @@
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 @@
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 @@
return ret;
}
- bo->bo_reuse = 0;
+ bo->bo_reuse = FALSE;
return prime_fd;
}
diff --git a/freedreno/freedreno_ringbuffer.c b/freedreno/freedreno_ringbuffer.c
index be80296..ab5d31f 100644
--- a/freedreno/freedreno_ringbuffer.c
+++ b/freedreno/freedreno_ringbuffer.c
@@ -97,10 +97,8 @@
ring->funcs->emit_reloc(ring, reloc);
}
-void
-fd_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring,
- struct fd_ringmarker *target,
- struct fd_ringmarker *end)
+void fd_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring,
+ struct fd_ringmarker *target, struct fd_ringmarker *end)
{
uint32_t submit_offset, size;