summaryrefslogtreecommitdiff
path: root/gralloc4/src/allocator/mali_gralloc_ion.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc4/src/allocator/mali_gralloc_ion.h')
-rw-r--r--gralloc4/src/allocator/mali_gralloc_ion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gralloc4/src/allocator/mali_gralloc_ion.h b/gralloc4/src/allocator/mali_gralloc_ion.h
index 5f55c2f..d826650 100644
--- a/gralloc4/src/allocator/mali_gralloc_ion.h
+++ b/gralloc4/src/allocator/mali_gralloc_ion.h
@@ -30,8 +30,8 @@ int mali_gralloc_ion_sync_start(const private_handle_t * const hnd,
const bool read, const bool write);
int mali_gralloc_ion_sync_end(const private_handle_t * const hnd,
const bool read, const bool write);
-int mali_gralloc_ion_map(private_handle_t *hnd);
-void mali_gralloc_ion_unmap(private_handle_t *hnd);
+std::array<void*, MAX_BUFFER_FDS> mali_gralloc_ion_map(private_handle_t *hnd);
+void mali_gralloc_ion_unmap(private_handle_t *hnd, std::array<void*, MAX_BUFFER_FDS>& vaddrs);
int mali_gralloc_attr_allocate(void);
#endif /* MALI_GRALLOC_ION_H_ */