summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gal_extension.h4
-rw-r--r--src/vivante_utils.c2
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;