summaryrefslogtreecommitdiff
path: root/gralloc4/src/allocator/mali_gralloc_ion.h
diff options
context:
space:
mode:
authorDevika Krishnadas <kdevika@google.com>2023-10-19 23:45:13 +0000
committerDevika Krishnadas <kdevika@google.com>2023-10-20 01:03:12 +0000
commit9cfa8e0ab9e24a61815831f1ed340ff983ac8bf1 (patch)
tree5d29a725d4aedfb33562283c46057ce3abd560f4 /gralloc4/src/allocator/mali_gralloc_ion.h
parentab7b4b8606cbd78b1b770493fcd217a0d1afb12c (diff)
downloadgchips-9cfa8e0ab9e24a61815831f1ed340ff983ac8bf1.tar.gz
Revert "Support Dry allocation"
This reverts commit 04d757f3a582db8f656513fdee6155ef22837566. Reason for revert: modify patch logic Change-Id: I328f2e716340c05ede73a78ca5e1b4ce5ac4a223
Diffstat (limited to 'gralloc4/src/allocator/mali_gralloc_ion.h')
-rw-r--r--gralloc4/src/allocator/mali_gralloc_ion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc4/src/allocator/mali_gralloc_ion.h b/gralloc4/src/allocator/mali_gralloc_ion.h
index ae1d37b..d826650 100644
--- a/gralloc4/src/allocator/mali_gralloc_ion.h
+++ b/gralloc4/src/allocator/mali_gralloc_ion.h
@@ -24,7 +24,7 @@
int mali_gralloc_ion_allocate_attr(private_handle_t *hnd);
int mali_gralloc_ion_allocate(const gralloc_buffer_descriptor_t *descriptors,
uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store,
- bool is_dry=false);
+ int ion_fd = -1);
void mali_gralloc_ion_free(private_handle_t * const hnd);
int mali_gralloc_ion_sync_start(const private_handle_t * const hnd,
const bool read, const bool write);