blob: a835c6ac61ef3759c28714fee91c062b69e4a9ec [file] [log] [blame]
config MALI400
tristate "Mali-300/400/450 support"
depends on ARM
select DMA_SHARED_BUFFER
---help---
This enables support for the ARM Mali-300, Mali-400, and Mali-450
GPUs.
To compile this driver as a module, choose M here: the module will be
called mali.
config MALI400_DEBUG
bool "Enable debug in Mali driver"
depends on MALI400
---help---
This enabled extra debug checks and messages in the Mali driver.
config MALI400_PROFILING
bool "Enable Mali profiling"
depends on MALI400
select TRACEPOINTS
default y
---help---
This enables gator profiling of Mali GPU events.
config MALI400_INTERNAL_PROFILING
bool "Enable internal Mali profiling API"
depends on MALI400_PROFILING
default n
---help---
This enables the internal legacy Mali profiling API.
config MALI400_UMP
bool "Enable UMP support"
depends on MALI400
---help---
This enables support for the UMP memory sharing API in the Mali driver.
config MALI_DMA_BUF_MAP_ON_ATTACH
bool "Map dma-buf attachments on attach"
depends on MALI400 && DMA_SHARED_BUFFER
default y
---help---
This makes the Mali driver map dma-buf attachments after doing
attach. If this is not set the dma-buf attachments will be mapped for
every time the GPU need to access the buffer.
Mapping for each access can cause lower performance.
config MALI_SHARED_INTERRUPTS
bool "Support for shared interrupts"
depends on MALI400
default n
---help---
Adds functionality required to properly support shared interrupts. Without this support,
the device driver will fail during insmod if it detects shared interrupts. Works even if
the GPU is not using shared interrupts, but can cause lower performance.