blob: d8bebe343b5c8468d6f86b6f050f9d05a614baa1 [file] [log] [blame]
config MTK_GPU_SUPPORT
tristate "Support MTK GPU"
help
config supports MTK GPU driver
CONFIG_MTK_GPU_SUPPORT defines
The gpu driver would be built-in, as kernel module or not supported
MTK_GPU_VERSION would define the target HW IP
config MTK_GPU_VERSION
string "Support MTK GPU Driver Version"
default ""
help
CONFIG_MTK_GPU_VERSION define which gpu ddk version will be used
It has three parts
1. vendor name
2. GPU architecture name
3. driver version
config MTK_GPU_COMMON_DVFS_SUPPORT
bool "Support GPU VSync-Based DVFS Policy"
default n
help
config supports to enable GPU DVFS policy
This enables MTK intenral GPU DVFS governor
It is nice method to save power
It is recommended to enable it when MTK_GPU_SUPPORT is enabled
config SW_SYNC64
bool "Enable SW 64bit sync counter"
depends on SW_SYNC
help
A sync object driver that uses a 64bit counter to coordinate
syncrhronization. Useful when there is no hardware
primitive backing the synchronization.
config MTK_GED_SUPPORT
bool "Support MTK GED"
default n
choice
prompt "GPU_VERSION"
optional
config GPU_VERSION_MALI_MIDGARD_R26P0
bool "MIDGARD_R26P0"
select MALI_MIDGARD
config GPU_VERSION_IMG_M1_10ED5173305
bool "IMG_M1_10ED5173305"
endchoice
if GPU_VERSION_MALI_MIDGARD_R26P0
source "drivers/gpu/mediatek/gpu_mali/midgard-r26p0/drivers/gpu/arm/midgard/Kconfig"
endif