2 tristate "Mali-300/400/450 support"
4 select DMA_SHARED_BUFFER
6 This enables support for the ARM Mali-300, Mali-400, and Mali-450
9 To compile this driver as a module, choose M here: the module will be
13 bool "Enable Mali-450 support"
16 This enables support for Mali-450 specific features.
19 bool "Enable debug in Mali driver"
22 This enabled extra debug checks and messages in the Mali driver.
24 config MALI400_PROFILING
25 bool "Enable Mali profiling"
30 This enables gator profiling of Mali GPU events.
32 config MALI400_INTERNAL_PROFILING
33 bool "Enable internal Mali profiling API"
34 depends on MALI400_PROFILING
37 This enables the internal legacy Mali profiling API.
40 bool "Enable UMP support"
43 This enables support for the UMP memory sharing API in the Mali driver.
46 bool "Enable Mali dynamically frequency change"
50 This enables support for dynamic change frequency of Mali with the goal of lowering power consumption.
52 config MALI_DMA_BUF_MAP_ON_ATTACH
53 bool "Map dma-buf attachments on attach"
54 depends on MALI400 && DMA_SHARED_BUFFER
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.
61 Mapping for each access can cause lower performance.
63 config MALI_SHARED_INTERRUPTS
64 bool "Support for shared interrupts"
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
73 config MALI_PMU_PARALLEL_POWER_UP
74 bool "Power up Mali PMU domains in parallel"
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.
84 bool "Using device tree to initialize module"
85 depends on MALI400 && OF
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.
94 bool "Make Mali driver very quiet"
95 depends on MALI400 && !MALI400_DEBUG
98 This forces the Mali driver to never print any messages.