summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics_overlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp/graphics_overlay.c')
-rw-r--r--minuitwrp/graphics_overlay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/minuitwrp/graphics_overlay.c b/minuitwrp/graphics_overlay.c
index 05c5472dc..61d9ecf47 100644
--- a/minuitwrp/graphics_overlay.c
+++ b/minuitwrp/graphics_overlay.c
@@ -158,7 +158,11 @@ int alloc_ion_mem(unsigned int size)
ionAllocData.flags = 0;
ionAllocData.len = size;
ionAllocData.align = sysconf(_SC_PAGESIZE);
+#ifdef NEW_ION_HEAP
+ ionAllocData.heap_id_mask =
+#else
ionAllocData.heap_mask =
+#endif
ION_HEAP(ION_IOMMU_HEAP_ID) |
ION_HEAP(ION_SYSTEM_CONTIG_HEAP_ID);