• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1menuconfig ION
2	bool "Ion Memory Manager"
3	depends on HAVE_MEMBLOCK && HAS_DMA && MMU
4	select GENERIC_ALLOCATOR
5	select DMA_SHARED_BUFFER
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.
12
13config ION_TEST
14	tristate "Ion Test Device"
15	depends on ION
16	help
17	  Choose this option to create a device that can be used to test the
18	  kernel and device side ION functions.
19
20config ION_DUMMY
21	bool "Dummy Ion driver"
22	depends on ION
23	help
24	  Provides a dummy ION driver that registers the
25	  /dev/ion device and some basic heaps. This can
26	  be used for testing the ION infrastructure if
27	  one doesn't have access to hardware drivers that
28	  use ION.
29
30config ION_TEGRA
31	tristate "Ion for Tegra"
32	depends on ARCH_TEGRA && ION
33	help
34	  Choose this option if you wish to use ion on an nVidia Tegra.
35
36config ION_POOL_CACHE_POLICY
37	bool "Ion set page pool cache policy"
38	depends on ION && X86
39	default y if X86
40	help
41	  Choose this option if need to explicity set cache policy of the
42	  pages in the page pool.
43