diff options
Diffstat (limited to 'drivers/staging/android/ion/Kconfig')
-rw-r--r-- | drivers/staging/android/ion/Kconfig | 56 |
1 files changed, 23 insertions, 33 deletions
diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig index c8fb413..a517b2d 100644 --- a/drivers/staging/android/ion/Kconfig +++ b/drivers/staging/android/ion/Kconfig @@ -10,45 +10,35 @@ menuconfig ION If you're not using Android its probably safe to say N here. -config ION_TEST - tristate "Ion Test Device" +config ION_SYSTEM_HEAP + bool "Ion system heap" depends on ION help - Choose this option to create a device that can be used to test the - kernel and device side ION functions. + Choose this option to enable the Ion system heap. The system heap + is backed by pages from the buddy allocator. If in doubt, say Y. -config ION_DUMMY - bool "Dummy Ion driver" +config ION_CARVEOUT_HEAP + bool "Ion carveout heap support" depends on ION help - Provides a dummy ION driver that registers the - /dev/ion device and some basic heaps. This can - be used for testing the ION infrastructure if - one doesn't have access to hardware drivers that - use ION. + Choose this option to enable carveout heaps with Ion. Carveout heaps + are backed by memory reserved from the system. Allocation times are + typically faster at the cost of memory not being used. Unless you + know your system has these regions, you should say N here. -config ION_TEGRA - tristate "Ion for Tegra" - depends on ARCH_TEGRA && ION +config ION_CHUNK_HEAP + bool "Ion chunk heap support" + depends on ION help - Choose this option if you wish to use ion on an nVidia Tegra. + Choose this option to enable chunk heaps with Ion. This heap is + similar in function the carveout heap but memory is broken down + into smaller chunk sizes, typically corresponding to a TLB size. + Unless you know your system has these regions, you should say N here. -config ION_HISI - tristate "Ion for Hisilicon" - depends on ARCH_HISI && ION - select ION_OF +config ION_CMA_HEAP + bool "Ion CMA heap support" + depends on ION && CMA help - Choose this option if you wish to use ion on Hisilicon Platform. - -source "drivers/staging/android/ion/hisilicon/Kconfig" - -config ION_OF - bool "Devicetree support for Ion" - depends on ION && OF_ADDRESS - help - Provides base support for defining Ion heaps in devicetree - and setting them up. Also includes functions for platforms - to parse the devicetree and expand for their own custom - extensions - - If using Ion and devicetree, you should say Y here + Choose this option to enable CMA heaps with Ion. This heap is backed + by the Contiguous Memory Allocator (CMA). If your system has these + regions, you should say Y here. |