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_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_MT6886_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6886"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6886.
	  Set Y or M to select this feature for specific platform-mt6886,
	  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_MT6897_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6897"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6897.
	  Set Y or M to select this feature for specific platform-mt6897,
	  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_MT6985_SUPPORT
	tristate "Specify Mediatek GPU Platform is mt6985"
	depends on MTK_GPU_SUPPORT
	help
	  Select MediaTek GPU Platform is mt6985.
	  Set Y or M to select this feature for specific platform-mt6985,
	  and set N to disable.
	  It is additional config to separate platforms.

config MTK_GPU_DIAGNOSIS_DEBUG
	bool "Enable gpu diagnosis switch for debug"
	depends on MTK_GPU_SUPPORT
	help
	  Enable gpu diagnosis control switches for gpu debugging.
	  If this config is set to Y, config nodes for gpu error hook and DB
	  dump level are available.
	  This is a config to decide exported debug function.
