config GATOR_MALI_MIDGARD_PATH
string "Path to Mali driver"
depends on GATOR_MALI_MIDGARD
- default "drivers/gpu/arm/midgard"
+ default "drivers/gpu/arm/midgard/r5p0_06rel0"
help
The gator code adds this to its include path so it can get the Mali
trace headers with: #include "linux/mali_linux_trace.h"
--- /dev/null
+menuconfig MALI_MIDGARD
+ tristate "Mali Midgard series support"
+ default n
+ help
+ Enable this option to build support for a ARM Mali Midgard GPU.
+
+ To compile this driver as a module, choose M here:
+ this will generate a single module, called mali_kbase.
+
+choice
+ depends on MALI_MIDGARD
+ prompt "Select MALI VER"
+ default MALI_VER_R5P0_06REL0
+
+config MALI_VER_R5P0_06REL0
+ bool "Mali Midgard Version R5P0-06REL0"
+ help
+ Choose this option to select DDK version.
+
+if MALI_VER_R5P0_06REL0
+source "drivers/gpu/arm/midgard/r5p0_06rel0/Kconfig"
+endif
+
+endchoice
--- /dev/null
+obj-$(CONFIG_MALI_VER_R5P0_06REL0) += r5p0_06rel0/
-menuconfig MALI_MIDGARD
- tristate "Mali Midgard series support"
- default n
- help
- Enable this option to build support for a ARM Mali Midgard GPU.
-
- To compile this driver as a module, choose M here:
- this will generate a single module, called mali_kbase.
-
config MALI_GATOR_SUPPORT
bool "Streamline Debug support"
depends on MALI_MIDGARD
help
Enables GPU tracepoints using Android trace event definitions.
-source "drivers/gpu/arm/midgard/platform/Kconfig"
+source "drivers/gpu/arm/midgard/r5p0_06rel0/platform/Kconfig"