diff options
author | Russell King <rmk@arm.linux.org.uk> | 2014-03-20 16:53:51 +0000 |
---|---|---|
committer | Russell King <rmk@arm.linux.org.uk> | 2014-03-20 16:53:51 +0000 |
commit | 108a8d7559350901b2b06b0df60b2209fa260f53 (patch) | |
tree | bc830530abb5b36e17ca1e6e0e1f61a0538979e3 | |
parent | aeca5fbd37c9a1703954b3bd0d88c4c8e9e615ca (diff) |
Rename map_dma_buf -> dmabuf_map
This gives it a better namespace.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
-rw-r--r-- | src/gal_extension.h | 4 | ||||
-rw-r--r-- | src/vivante_utils.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gal_extension.h b/src/gal_extension.h index f02b418..6325444 100644 --- a/src/gal_extension.h +++ b/src/gal_extension.h @@ -8,13 +8,13 @@ #include <gc_hal.h> /* Map a DMABUF fd into galcore */ -struct map_dma_buf { +struct dmabuf_map { unsigned zero; unsigned status; int fd; gctPOINTER Info; gctUINT32 Address; }; -#define IOC_GDMABUF_MAP _IOWR('_', 0, struct map_dma_buf) +#define IOC_GDMABUF_MAP _IOWR('_', 0, struct dmabuf_map) #endif diff --git a/src/vivante_utils.c b/src/vivante_utils.c index cfa9697..0a42a35 100644 --- a/src/vivante_utils.c +++ b/src/vivante_utils.c @@ -115,7 +115,7 @@ void vivante_unmap_gpu(struct vivante *vivante, struct vivante_pixmap *vPix) Bool vivante_map_bo_to_gpu(struct vivante *vivante, struct drm_armada_bo *bo, void **info, uint32_t *handle) { - struct map_dma_buf map; + struct dmabuf_map map; gceSTATUS status; int fd; |