2 bool "Ion Memory Manager"
3 depends on HAVE_MEMBLOCK && HAS_DMA && MMU
4 select GENERIC_ALLOCATOR
5 select DMA_SHARED_BUFFER
7 Chose this option to enable the ION Memory Manager,
8 used by Android to efficiently allocate buffers
9 from userspace that can be shared between drivers.
10 If you're not using Android its probably safe to
13 config ION_SYSTEM_HEAP
14 bool "Ion system heap"
17 Choose this option to enable the Ion system heap. The system heap
18 is backed by pages from the buddy allocator. If in doubt, say Y.
20 config ION_CARVEOUT_HEAP
21 bool "Ion carveout heap support"
24 Choose this option to enable carveout heaps with Ion. Carveout heaps
25 are backed by memory reserved from the system. Allocation times are
26 typically faster at the cost of memory not being used. Unless you
27 know your system has these regions, you should say N here.
30 bool "Ion chunk heap support"
33 Choose this option to enable chunk heaps with Ion. This heap is
34 similar in function the carveout heap but memory is broken down
35 into smaller chunk sizes, typically corresponding to a TLB size.
36 Unless you know your system has these regions, you should say N here.
39 bool "Ion CMA heap support"
40 depends on ION && DMA_CMA
42 Choose this option to enable CMA heaps with Ion. This heap is backed
43 by the Contiguous Memory Allocator (CMA). If your system has these
44 regions, you should say Y here.