diff options
Diffstat (limited to 'drivers/gpu/arm/midgard/Kconfig')
-rw-r--r-- | drivers/gpu/arm/midgard/Kconfig | 87 |
1 files changed, 35 insertions, 52 deletions
diff --git a/drivers/gpu/arm/midgard/Kconfig b/drivers/gpu/arm/midgard/Kconfig index 201832b262d4..4f70e31d7b25 100644 --- a/drivers/gpu/arm/midgard/Kconfig +++ b/drivers/gpu/arm/midgard/Kconfig @@ -16,7 +16,6 @@ menuconfig MALI_MIDGARD tristate "Mali Midgard series support" - select GPU_TRACEPOINTS if ANDROID default n help Enable this option to build support for a ARM Mali Midgard GPU. @@ -24,15 +23,38 @@ menuconfig MALI_MIDGARD To compile this driver as a module, choose M here: this will generate a single module, called mali_kbase. +choice + prompt "Streamline support" + depends on MALI_MIDGARD + default MALI_TIMELINE_DISABLED + help + Select streamline support configuration. + +config MALI_TIMELINE_DISABLED + bool "Streamline support disabled" + help + Disable support for ARM Streamline Performance Analyzer. + + Timeline support will not be included in + kernel code. + Debug stream will not be generated. + config MALI_GATOR_SUPPORT bool "Streamline support via Gator" - depends on MALI_MIDGARD - default n help Adds diagnostic support for use with the ARM Streamline Performance Analyzer. You will need the Gator device driver already loaded before loading this driver when enabling Streamline debug support. - This is a legacy interface required by older versions of Streamline. + +config MALI_MIPE_ENABLED + bool "Streamline support via MIPE" + help + Adds diagnostic support for use with the ARM Streamline Performance Analyzer. + + Stream will be transmitted directly to Mali GPU library. + Compatible version of the library is required to read debug stream generated by kernel. + +endchoice config MALI_MIDGARD_DVFS bool "Enable legacy DVFS" @@ -59,15 +81,6 @@ config MALI_DEVFREQ governor, the frequency of Mali will be dynamically selected from the available OPPs. -config MALI_DMA_FENCE - bool "DMA_BUF fence support for Mali" - depends on MALI_MIDGARD && !KDS - default n - help - Support DMA_BUF fences for Mali. - - This option should only be enabled if KDS is not present and - the Linux Kernel has built in support for DMA_BUF fences. # MALI_EXPERT configuration options @@ -79,18 +92,13 @@ menuconfig MALI_EXPERT Enabling this option and modifying the default settings may produce a driver with performance or other limitations. -config MALI_PRFCNT_SET_SECONDARY - bool "Use secondary set of performance counters" +config MALI_DEBUG_SHADER_SPLIT_FS + bool "Allow mapping of shader cores via sysfs" depends on MALI_MIDGARD && MALI_EXPERT default n help - Select this option to use secondary set of performance counters. Kernel - features that depend on an access to the primary set of counters may - become unavailable. Enabling this option will prevent power management - from working optimally and may cause instrumentation tools to return - bogus results. - - If unsure, say N. + Select this option to provide a sysfs entry for runtime configuration of shader + core affinity masks. config MALI_PLATFORM_FAKE bool "Enable fake platform device support" @@ -154,23 +162,6 @@ config MALI_DEBUG help Select this option for increased checking and reporting of errors. -config MALI_FENCE_DEBUG - bool "Debug sync fence usage" - depends on MALI_MIDGARD && MALI_EXPERT && SYNC - default y if MALI_DEBUG - help - Select this option to enable additional checking and reporting on the - use of sync fences in the Mali driver. - - This will add a 3s timeout to all sync fence waits in the Mali - driver, so that when work for Mali has been waiting on a sync fence - for a long time a debug message will be printed, detailing what fence - is causing the block, and which dependent Mali atoms are blocked as a - result of this. - - The timeout can be changed at runtime through the js_soft_timeout - device attribute, where the timeout is specified in milliseconds. - config MALI_NO_MALI bool "No Mali" depends on MALI_MIDGARD && MALI_EXPERT @@ -207,19 +198,11 @@ config MALI_SYSTEM_TRACE minimal overhead when not in use. Enable only if you know what you are doing. -config MALI_GPU_MMU_AARCH64 - bool "Use AArch64 page tables" - depends on MALI_MIDGARD && MALI_EXPERT - default n +config MALI_GPU_TRACEPOINTS + bool "Enable GPU tracepoints" + depends on MALI_MIDGARD && ANDROID + select GPU_TRACEPOINTS help - Use AArch64 format page tables for the GPU instead of LPAE-style. - The two formats have the same functionality and performance but a - future GPU may deprecate or remove the legacy LPAE-style format. - - The LPAE-style format is supported on all Midgard and current Bifrost - GPUs. Enabling AArch64 format restricts the driver to only supporting - Bifrost GPUs. - - If in doubt, say N. + Enables GPU tracepoints using Android trace event definitions. source "drivers/gpu/arm/midgard/platform/Kconfig" |