tizen 2.4 release
[kernel/linux-3.0.git] / drivers / gpu / arm / mali400 / r4p0_rel0 / Kconfig
1 config MALI400_DEBUG
2         bool "Enable debug in Mali driver"
3         depends on MALI400
4         ---help---
5           This enabled extra debug checks and messages in the Mali driver.
6
7 config MALI400_PROFILING
8         bool "Enable Mali profiling"
9         depends on MALI400
10         select TRACEPOINTS
11         default n
12         ---help---
13           This enables gator profiling of Mali GPU events.
14
15 config MALI400_INTERNAL_PROFILING
16         bool "Enable internal Mali profiling API"
17         depends on MALI400_PROFILING
18         default n
19         ---help---
20           This enables the internal legacy Mali profiling API.
21
22 config MALI_DVFS
23         bool "Enable mali DVFS"
24         depends on MALI400 && PM
25         default y
26         ---help---
27                 This enables Mali driver DVFS.
28
29 config MALI_DVFS_FULL_LEVEL
30         bool "Enable mali DVFS full level"
31         depends on MALI_DVFS
32         default n
33         ---help---
34                 This enables Mali driver DVFS full level.
35
36 if CPU_EXYNOS4212 || CPU_EXYNOS4412
37 config MALI400_UMP
38         bool "Enable UMP support"
39         depends on MALI400
40         default y
41         ---help---
42           This enables support for the UMP memory sharing API in the Mali driver.
43 endif
44
45 config MALI400_POWER_PERFORMANCE_POLICY
46         bool "Enable Mali power performance policy"
47         depends on ARM
48         default n
49         ---help---
50           This enables support for dynamic performance scaling 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.