]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/staging/android/ion/Kconfig
staging: android: ion: Use CMA APIs directly
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / android / ion / Kconfig
CommitLineData
c30707be 1menuconfig ION
968141d2 2 bool "Ion Memory Manager"
80dd7052 3 depends on HAVE_MEMBLOCK && HAS_DMA && MMU
c30707be 4 select GENERIC_ALLOCATOR
b892bf75 5 select DMA_SHARED_BUFFER
024789ae
JS
6 ---help---
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
11 say N here.
c30707be 12
204f6722
LA
13config ION_CMA_HEAP
14 bool "Ion CMA heap support"
15 depends on ION && CMA
16 help
17 Choose this option to enable CMA heaps with Ion. This heap is backed
18 by the Contiguous Memory Allocator (CMA). If your system has these
19 regions, you should say Y here.