UPSTREAM: DT/arm,gic-v3: Documment PPI partition support
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / mali400 / mali / Kconfig
1 config MALI400
2         tristate "Mali-300/400/450 support"
3         depends on ARM
4         select DMA_SHARED_BUFFER
5         ---help---
6           This enables support for the ARM Mali-300, Mali-400, and Mali-450
7           GPUs.
8
9           To compile this driver as a module, choose M here: the module will be
10           called mali.
11
12 config MALI450
13         bool "Enable Mali-450 support"
14         depends on MALI400
15         ---help---
16           This enables support for Mali-450 specific features.
17
18 config MALI400_DEBUG
19         bool "Enable debug in Mali driver"
20         depends on MALI400
21         ---help---
22           This enabled extra debug checks and messages in the Mali driver.
23
24 config MALI400_PROFILING
25         bool "Enable Mali profiling"
26         depends on MALI400
27         select TRACEPOINTS
28         default y
29         ---help---
30           This enables gator profiling of Mali GPU events.
31
32 config MALI400_INTERNAL_PROFILING
33         bool "Enable internal Mali profiling API"
34         depends on MALI400_PROFILING
35         default n
36         ---help---
37           This enables the internal legacy Mali profiling API.
38
39 config MALI400_UMP
40         bool "Enable UMP support"
41         depends on MALI400
42         ---help---
43           This enables support for the UMP memory sharing API in the Mali driver.
44
45 config MALI_DVFS
46         bool "Enable Mali dynamically frequency change"
47         depends on MALI400
48         default y
49         ---help---
50           This enables support for dynamic change frequency of Mali with the goal of lowering power consumption.
51
52 config MALI_DMA_BUF_MAP_ON_ATTACH
53         bool "Map dma-buf attachments on attach"
54         depends on MALI400 && DMA_SHARED_BUFFER
55         default y
56         ---help---
57           This makes the Mali driver map dma-buf attachments after doing
58           attach. If this is not set the dma-buf attachments will be mapped for
59           every time the GPU need to access the buffer.
60
61           Mapping for each access can cause lower performance.
62
63 config MALI_SHARED_INTERRUPTS
64         bool "Support for shared interrupts"
65         depends on MALI400
66         default n
67         ---help---
68           Adds functionality required to properly support shared interrupts.  Without this support,
69           the device driver will fail during insmod if it detects shared interrupts.  This also
70           works when the GPU is not using shared interrupts, but might have a slight performance
71           impact.
72
73 config MALI_PMU_PARALLEL_POWER_UP
74         bool "Power up Mali PMU domains in parallel"
75         depends on MALI400
76         default n
77         ---help---
78           This makes the Mali driver power up all PMU power domains in parallel, instead of
79           powering up domains one by one, with a slight delay in between. Powering on all power
80           domains at the same time may cause peak currents higher than what some systems can handle.
81           These systems must not enable this option.
82
83 config MALI_DT
84         bool "Using device tree to initialize module"
85         depends on MALI400 && OF
86         default n
87         ---help---
88           This enable the Mali driver to choose the device tree path to get platform resoures
89           and disable the old config method. Mali driver could run on the platform which the
90           device tree is enabled in kernel and corresponding hardware description is implemented
91           properly in device DTS file.
92
93 config MALI_QUIET
94         bool "Make Mali driver very quiet"
95         depends on MALI400 && !MALI400_DEBUG
96         default n
97         ---help---
98           This forces the Mali driver to never print any messages.
99
100           If unsure, say N.