gralloc: Use dedicated heaps for sensors direct report mode
Use systemheap for SMMU enabled targets and use adspheap
for non SMMU enabled targets for fastrpc communication.
Change-Id: Ib13cf669377d489b1da7b00f29a49567d75db7fa
diff --git a/gralloc/gr_allocator.h b/gralloc/gr_allocator.h
index 36732c6..630151a 100644
--- a/gralloc/gr_allocator.h
+++ b/gralloc/gr_allocator.h
@@ -58,6 +58,8 @@
unsigned int *ion_flags);
IonAlloc *ion_allocator_ = NULL;
+
+ bool use_system_heap_for_sensors_ = true;
};
} // namespace gralloc