mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-30 15:48:52 +01:00
169 lines
5 KiB
Text
169 lines
5 KiB
Text
#
|
|
# (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved.
|
|
#
|
|
# This program is free software and is provided to you under the terms of the
|
|
# GNU General Public License version 2 as published by the Free Software
|
|
# Foundation, and any use by you of this program is subject to the terms
|
|
# of such GNU licence.
|
|
#
|
|
# A copy of the licence is included with the program, and can also be obtained
|
|
# from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
# Boston, MA 02110-1301, USA.
|
|
#
|
|
#
|
|
|
|
|
|
config MALI_GATOR_SUPPORT
|
|
bool "Streamline Debug support"
|
|
depends on MALI_T8XX
|
|
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.
|
|
|
|
config MALI_DVFS
|
|
bool "Enable DVFS"
|
|
depends on MALI_T8XX
|
|
default n
|
|
help
|
|
Choose this option to enable DVFS on MALI T8XX DDK.
|
|
|
|
config MALI_RT_PM
|
|
bool "Enable Runtime power management"
|
|
depends on MALI_T8XX
|
|
depends on PM_RUNTIME
|
|
default n
|
|
help
|
|
Choose this option to enable runtime power management on MALI T8XX DDK.
|
|
|
|
menuconfig MALI_ENABLE_TRACE
|
|
bool "Enable kbase tracing"
|
|
depends on MALI_T8XX
|
|
default n
|
|
help
|
|
Enables tracing in kbase. Trace log available through
|
|
the "mali_trace" debugfs file, when the CONFIG_DEBUG_FS is enabled
|
|
|
|
config MALI_EXYNOS_TRACE
|
|
bool "Enable LSI trace"
|
|
depends on MALI_T8XX && MALI_ENABLE_TRACE
|
|
# default y
|
|
help
|
|
Enable tracing in kbase. It defined by S.LSI
|
|
|
|
config MALI_FULL_TRACE
|
|
bool "Enable FULL trace"
|
|
depends on MALI_T8XX && MALI_ENABLE_TRACE
|
|
# default n
|
|
help
|
|
Enable tracing in kbase. It defined by ARM and work fully.
|
|
|
|
config MALI_DEBUG_SYS
|
|
bool "Enable sysfs for mali T8XX"
|
|
depends on MALI_T8XX && SYSFS
|
|
default n
|
|
help
|
|
Enables sysfs for mali T8XX device. Set/Monitor Mali T8XX Device
|
|
|
|
# MALI_EXPERT configuration options
|
|
|
|
menuconfig MALI_EXPERT
|
|
depends on MALI_T8XX
|
|
bool "Enable Expert Settings"
|
|
default n
|
|
help
|
|
Enabling this option and modifying the default settings may produce a driver with performance or
|
|
other limitations.
|
|
|
|
config MALI_DEBUG_SHADER_SPLIT_FS
|
|
bool "Allow mapping of shader cores via sysfs"
|
|
depends on MALI_T8XX && MALI_DEBUG_SYS && MALI_EXPERT
|
|
default n
|
|
help
|
|
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"
|
|
depends on MALI_T8XX && MALI_EXPERT
|
|
default n
|
|
help
|
|
When you start to work with the Mali Midgard series device driver the platform-specific code of
|
|
the Linux kernel for your platform may not be complete. In this situation the kernel device driver
|
|
supports creating the platform device outside of the Linux platform-specific code.
|
|
Enable this option if would like to use a platform device configuration from within the device driver.
|
|
|
|
config MALI_PLATFORM_THIRDPARTY
|
|
depends on MALI_T8XX && MALI_EXPERT
|
|
bool "Third Party Platform"
|
|
default y
|
|
help
|
|
Select the SOC platform that contains a Mali-T8XX
|
|
|
|
config MALI_PLATFORM_THIRDPARTY_NAME
|
|
depends on MALI_T8XX && MALI_PLATFORM_THIRDPARTY && MALI_EXPERT
|
|
string "Third party platform name"
|
|
help
|
|
Enter the name of a third party platform that is supported. The third part configuration
|
|
file must be in midgard/config/tpip/mali_kbase_config_xxx.c where xxx is the name
|
|
specified here.
|
|
|
|
config MALI_DEBUG
|
|
bool "Debug build"
|
|
depends on MALI_T8XX && MALI_EXPERT
|
|
default n
|
|
help
|
|
Select this option for increased checking and reporting of errors.
|
|
|
|
config MALI_NO_MALI
|
|
bool "No Mali"
|
|
depends on MALI_T8XX && MALI_EXPERT
|
|
default n
|
|
help
|
|
This can be used to test the driver in a simulated environment
|
|
whereby the hardware is not physically present. If the hardware is physically
|
|
present it will not be used. This can be used to test the majority of the
|
|
driver without needing actual hardware or for software benchmarking.
|
|
All calls to the simulated hardware will complete immediately as if the hardware
|
|
completed the task.
|
|
|
|
config MALI_ERROR_INJECT
|
|
bool "Error injection"
|
|
depends on MALI_T8XX && MALI_EXPERT && MALI_NO_MALI
|
|
default n
|
|
help
|
|
Enables insertion of errors to test module failure and recovery mechanisms.
|
|
|
|
config MALI_TRACE_TIMELINE
|
|
bool "Timeline tracing"
|
|
depends on MALI_T8XX && MALI_EXPERT
|
|
default n
|
|
help
|
|
Enables timeline tracing through the kernel tracepoint system.
|
|
|
|
config MALI_SYSTEM_TRACE
|
|
bool "Enable system event tracing support"
|
|
depends on MALI_T8XX && MALI_EXPERT
|
|
default n
|
|
help
|
|
Choose this option to enable system trace events for each
|
|
kbase event. This is typically used for debugging but has
|
|
minimal overhead when not in use. Enable only if you know what
|
|
you are doing.
|
|
|
|
config MALI_GPU_TRACEPOINTS
|
|
bool "Enable GPU tracepoints"
|
|
depends on MALI_T8XX && ANDROID
|
|
select GPU_TRACEPOINTS
|
|
help
|
|
Enables GPU tracepoints using Android trace event definitions.
|
|
|
|
config MALI_SEC_HWCNT
|
|
bool "Enable sec hwcnt feature"
|
|
depends on MALI_T8XX
|
|
default y
|
|
help
|
|
Enable sec hwcnt feature.
|
|
|
|
source "drivers/gpu/arm/t8xx/r5p0/platform/Kconfig"
|