Commit | Line | Data |
---|---|---|
355b0502 GKH |
1 | menu "Android" |
2 | ||
355b0502 GKH |
3 | if ANDROID |
4 | ||
11980c2a RL |
5 | config ASHMEM |
6 | bool "Enable the Anonymous Shared Memory Subsystem" | |
7 | default n | |
2c0fb1c9 | 8 | depends on SHMEM |
d7f9729f | 9 | ---help--- |
11980c2a RL |
10 | The ashmem subsystem is a new shared memory allocator, similar to |
11 | POSIX SHM but with different behavior and sporting a simpler | |
12 | file-based API. | |
13 | ||
d7f9729f CJB |
14 | It is, in theory, a good memory allocator for low-memory devices, |
15 | because it can discard shared memory units when under memory pressure. | |
16 | ||
355b0502 GKH |
17 | config ANDROID_TIMED_OUTPUT |
18 | bool "Timed output class driver" | |
19 | default y | |
20 | ||
21 | config ANDROID_TIMED_GPIO | |
22 | tristate "Android timed gpio driver" | |
fd93b805 GU |
23 | depends on GPIOLIB || COMPILE_TEST |
24 | depends on ANDROID_TIMED_OUTPUT | |
355b0502 | 25 | default n |
ad5b0d07 JT |
26 | ---help--- |
27 | Unlike generic gpio is to allow programs to access and manipulate gpio | |
28 | registers from user space, timed output/gpio is a system to allow changing | |
29 | a gpio pin and restore it automatically after a specified timeout. | |
355b0502 GKH |
30 | |
31 | config ANDROID_LOW_MEMORY_KILLER | |
32 | bool "Android Low Memory Killer" | |
355b0502 | 33 | ---help--- |
ad5b0d07 JT |
34 | Registers processes to be killed when low memory conditions, this is useful |
35 | as there is no particular swap space on android. | |
36 | ||
37 | The registered process will kills according to the priorities in android init | |
38 | scripts (/init.rc), and it defines priority values with minimum free memory size | |
39 | for each priority. | |
355b0502 | 40 | |
7ad530bf EG |
41 | config SYNC |
42 | bool "Synchronization framework" | |
43 | default n | |
44 | select ANON_INODES | |
0f0d8406 | 45 | select DMA_SHARED_BUFFER |
fb51b500 | 46 | ---help--- |
7ad530bf EG |
47 | This option enables the framework for synchronization between multiple |
48 | drivers. Sync implementations can take advantage of hardware | |
49 | synchronization built into devices like GPUs. | |
50 | ||
9d1906e6 EG |
51 | config SW_SYNC |
52 | bool "Software synchronization objects" | |
53 | default n | |
54 | depends on SYNC | |
fb51b500 | 55 | ---help--- |
9d1906e6 | 56 | A sync object driver that uses a 32bit counter to coordinate |
7e25075e | 57 | synchronization. Useful when there is no hardware primitive backing |
9d1906e6 EG |
58 | the synchronization. |
59 | ||
c30707be RSZ |
60 | source "drivers/staging/android/ion/Kconfig" |
61 | ||
355b0502 GKH |
62 | endif # if ANDROID |
63 | ||
64 | endmenu |