parent
8a6a8512d4
commit
9e697c7499
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -97,10 +97,8 @@ void fd_ringbuffer_reloc(struct fd_ringbuffer *ring,
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue