2 # (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved.
4 # This program is free software and is provided to you under the terms of the
5 # GNU General Public License version 2 as published by the Free Software
6 # Foundation, and any use by you of this program is subject to the terms
9 # A copy of the licence is included with the program, and can also be obtained
10 # from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11 # Boston, MA 02110-1301, USA.
18 tristate "Mali-T6XX support"
21 Enable this option to build support for the ARM Mali-T6XX GPU.
23 To compile this driver as a module, choose M here:
24 this will generate a single module, called mali_kbase.
26 config MALI_GATOR_SUPPORT
27 bool "Streamline Debug support"
31 Adds diagnostic support for use with the ARM Streamline Performance Analyzer.
32 You will need the Gator device driver already loaded before loading this driver when enabling
33 Streamline debug support.
40 Choose this option to enable DVFS on MALI T6XX DDK.
42 config MALI_T6XX_RT_PM
43 bool "Enable Runtime power management"
48 Choose this option to enable runtime power management on MALI T6XX DDK.
50 config MALI_T6XX_ENABLE_TRACE
51 bool "Enable kbase tracing"
55 Enables tracing in kbase. Trace log available through
56 the "mali_trace" debugfs file, when the CONFIG_DEBUG_FS is enabled
58 config MALI_T6XX_DEBUG_SYS
59 bool "Enable sysfs for mali t6xx"
60 depends on MALI_T6XX && SYSFS
63 Enables sysfs for mali t6xx device. Set/Monitor Mali T6xx Device
65 # MALI_EXPERT configuration options
67 menuconfig MALI_EXPERT
69 bool "Enable Expert Settings"
72 Enabling this option and modifying the default settings may produce a driver with performance or
75 config MALI_DEBUG_SHADER_SPLIT_FS
76 bool "Allow mapping of shader cores via sysfs"
77 depends on MALI_T6XX && MALI_T6XX_DEBUG_SYS && MALI_EXPERT
80 Select this option to provide a sysfs entry for runtime configuration of shader
83 config MALI_PLATFORM_FAKE
84 tristate "Enable fake platform device support"
85 depends on MALI_T6XX && MALI_EXPERT
88 When you start to work with the Mali-T600 Series device driver the platform-specific code of
89 the Linux kernel for your platform may not be complete. In this situation the kernel device driver
90 supports creating the platform device outside of the Linux platform-specific code.
91 Enable this option if would like to use a platform device configuration from within the device driver.
94 prompt "Platform configuration"
95 depends on MALI_T6XX && MALI_EXPERT
96 default MALI_PLATFORM_VEXPRESS
98 Select the SOC platform that contains a Mali-T6XX
100 config MALI_PLATFORM_VEXPRESS
101 depends on ARCH_VEXPRESS && (ARCH_VEXPRESS_CA9X4 || ARCH_VEXPRESS_CA15X4)
102 bool "Versatile Express"
103 config MALI_PLATFORM_VEXPRESS_VIRTEX7_40MHZ
104 depends on ARCH_VEXPRESS && (ARCH_VEXPRESS_CA9X4 || ARCH_VEXPRESS_CA15X4)
105 bool "Versatile Express w/Virtex7 @ 40Mhz"
106 config MALI_PLATFORM_GOLDFISH
107 depends on ARCH_GOLDFISH
108 bool "Android Goldfish virtual CPU"
109 config MALI_PLATFORM_PBX
110 depends on ARCH_REALVIEW && REALVIEW_EB_A9MP && MACH_REALVIEW_PBX
111 bool "Realview PBX-A9"
112 config MALI_PLATFORM_THIRDPARTY
113 bool "Third Party Platform"
116 config MALI_PLATFORM_THIRDPARTY_NAME
117 depends on MALI_T6XX && MALI_PLATFORM_THIRDPARTY && MALI_EXPERT
118 string "Third party platform name"
120 Enter the name of a third party platform that is supported. The third part configuration
121 file must be in kbase/src/linux/config/tpip/mali_kbase_config_xxx.c where xxx is the name
126 depends on MALI_T6XX && MALI_EXPERT
129 Select this option for increased checking and reporting of errors.
133 depends on MALI_T6XX && MALI_EXPERT
136 This can be used to test the driver in a simulated environment
137 whereby the hardware is not physically present. If the hardware is physically
138 present it will not be used. This can be used to test the majority of the
139 driver without needing actual hardware or for software benchmarking.
140 All calls to the simulated hardware will complete immediately as if the hardware
143 config MALI_ERROR_INJECT
144 bool "Error injection"
145 depends on MALI_T6XX && MALI_EXPERT && MALI_NO_MALI
148 Enables insertion of errors to test module failure and recovery mechanisms.
150 config MALI_TRACE_TIMELINE
151 bool "Timeline tracing"
152 depends on MALI_T6XX && MALI_EXPERT
155 Enables timeline tracing through the kernel tracepoint system.
157 config MALI_SYSTEM_TRACE
158 bool "Enable system event tracing support"
159 depends on MALI_T6XX && MALI_EXPERT
162 Choose this option to enable system trace events for each
163 kbase event. This is typically used for debugging but has
164 minimal overhead when not in use. Enable only if you know what
167 config MALI_GPU_TRACEPOINTS
168 bool "Enable GPU tracepoints"
169 depends on MALI_T6XX && ANDROID
170 select GPU_TRACEPOINTS
172 Enables GPU tracepoints using Android trace event definitions.
174 source "drivers/gpu/arm/t6xx/kbase/src/platform/Kconfig"