]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/staging/android/Kconfig
Merge tag 'for-linus-4.2-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / staging / android / Kconfig
1 menu "Android"
2
3 if ANDROID
4
5 config ASHMEM
6         bool "Enable the Anonymous Shared Memory Subsystem"
7         default n
8         depends on SHMEM
9         ---help---
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
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
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"
23         depends on GPIOLIB && ANDROID_TIMED_OUTPUT
24         default n
25         ---help---
26           Unlike generic gpio is to allow programs to access and manipulate gpio
27           registers from user space, timed output/gpio is a system to allow changing
28           a gpio pin and restore it automatically after a specified timeout.
29
30 config ANDROID_LOW_MEMORY_KILLER
31         bool "Android Low Memory Killer"
32         ---help---
33           Registers processes to be killed when low memory conditions, this is useful
34           as there is no particular swap space on android.
35
36           The registered process will kills according to the priorities in android init
37           scripts (/init.rc), and it defines priority values with minimum free memory size
38           for each priority.
39
40 config SYNC
41         bool "Synchronization framework"
42         default n
43         select ANON_INODES
44         select DMA_SHARED_BUFFER
45         ---help---
46           This option enables the framework for synchronization between multiple
47           drivers.  Sync implementations can take advantage of hardware
48           synchronization built into devices like GPUs.
49
50 config SW_SYNC
51         bool "Software synchronization objects"
52         default n
53         depends on SYNC
54         ---help---
55           A sync object driver that uses a 32bit counter to coordinate
56           syncrhronization.  Useful when there is no hardware primitive backing
57           the synchronization.
58
59 config SW_SYNC_USER
60         bool "Userspace API for SW_SYNC"
61         default n
62         depends on SW_SYNC
63         ---help---
64           Provides a user space API to the sw sync object.
65           *WARNING* improper use of this can result in deadlocking kernel
66           drivers from userspace.
67
68 source "drivers/staging/android/ion/Kconfig"
69
70 endif # if ANDROID
71
72 endmenu