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.
	  It is nice method to save power.
	  It is recommended to enable it when MTK_GPU_SUPPORT is enabled.

config MTK_GPU_R5P0
	bool "Force to use r5p0 driver"
	default n
	help
	  config defines to use r5p0 drivers
	  Choose this option to force r5p0 driver verison

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_GPU_SPM_DVFS_SUPPORT
	bool "Enable GPU SPM DVFS"
	default n
	help
	  Choose this option to enable a dedicated HW to do GPU DVFS.
	  The feature is still under experiment. Enable only if you know
	  what your are doing.
	  MTK_GPU_COMMON_DVFS_SUPPORT and MTK_GPU_SPM_DVFS_SUPPORT shouldn't
	  exist concurrently.

config MTK_GPU_SWPM_SUPPORT
	bool "Enable GPU SPM DVFS"
	default n
	help
	   config supports to make SWPM enable/disable GPU power model

config MTK_GPU_SWPM_RUN_TIME
	bool "Enable GPU SWPM RUN TIME"
	default n
	help
	   GPU swpm rum time if config enable
	   GPU swpm is initial in ged dvfs

config MTK_TINYSYS_GPUEB_SUPPORT
	tristate "Support MTK GPUEB"
	default n
	help
	  Choose this option to enable dedicated HW for GPU DVFS.
	  CONFIG_MTK_TINYSYS_GPUEB_SUPPORT defines
	  if the gpueb driver should be built, as kernel module or not supported

config MTK_GPUFREQ_V2
	bool "MTK GPUFREQ Version 2"
	default n
	help
	  Support for gpufreq version 2.
	  CONFIG_MTK_GPUFREQ_V2 defines
	  if the gpufreq driver should go to version 2

config MTK_GPU_MT6789_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6789"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6789.
	  Set Y or M to select this feature for specific platform-mt6789,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6833_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6833"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6833.
	  Set Y or M to select this feature for specific platform-mt6833,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6855_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6855"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6855.
	  Set Y or M to select this feature for specific platform-mt6855,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6879_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6879"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6879.
	  Set Y or M to select this feature for specific platform-mt6879,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6893_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6893"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6893.
	  Set Y or M to select this feature for specific platform-mt6893,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6895_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6895"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6895.
	  Set Y or M to select this feature for specific platform-mt6895,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6983_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6983"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6983.
	  Set Y or M to select this feature for specific platform-mt6983,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6768_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6768"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6768.
	  Set Y or M to select this feature for specific platform-mt6768,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6765_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6765"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6765.
	  Set Y or M to select this feature for specific platform-mt6765,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6761_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6761"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6761.
	  Set Y or M to select this feature for specific platform-mt6761,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_MT6739_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6739"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6739.
	  Set Y or M to select this feature for specific platform-mt6739,
	  and set N to disable.
	  It is additional config to separate platforms.
source "drivers/gpu/mediatek/gpu_mali/mali_valhall/mali-r32p1/drivers/base/arm/Kconfig"
