summaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h
diff options
context:
space:
mode:
authorJacob Chen <jacob2.chen@rock-chips.com>2016-10-15 16:11:46 +0800
committerJacob Chen <jacob2.chen@rock-chips.com>2016-10-15 16:11:46 +0800
commit028bc40a6d227cb553236588c43f35ad7ae2af97 (patch)
tree662944c4a76cecb58cb63da17d5ed9aac1b39914 /drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h
parentf27d1ca8e35893191bb344bb461d9f5f20be5ae7 (diff)
HEADER: MALI: rockchip: upgrade midgard DDK to r9p0-05rel0release-20161015
Change-Id: Ie46489734268edac2db7508ed6976fc8b72c2f06 Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
Diffstat (limited to 'drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h')
-rw-r--r--drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h b/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h
index dc4471beae67..6384586371d0 100644
--- a/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h
+++ b/drivers/gpu/arm/midgard/platform/vexpress/mali_kbase_config_platform.h
@@ -1,6 +1,6 @@
/*
*
- * (C) COPYRIGHT 2014-2016 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2014-2015 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
@@ -24,7 +24,7 @@
* Attached value: number in kHz
* Default value: NA
*/
-#define GPU_FREQ_KHZ_MAX kbase_get_platform_max_freq()
+#define GPU_FREQ_KHZ_MAX (5000)
/**
* Minimum frequency GPU will be clocked at. Given in kHz.
* This must be specified as there is no default value.
@@ -32,7 +32,16 @@
* Attached value: number in kHz
* Default value: NA
*/
-#define GPU_FREQ_KHZ_MIN kbase_get_platform_min_freq()
+#define GPU_FREQ_KHZ_MIN (5000)
+
+/**
+ * Values used for determining the GPU frequency based on the LogicTile type
+ * Used by the function kbase_get_platform_logic_tile_type
+ */
+#define VE_VIRTEX6_GPU_FREQ_MIN 5000
+#define VE_VIRTEX6_GPU_FREQ_MAX 5000
+#define VE_VIRTEX7_GPU_FREQ_MIN 40000
+#define VE_VIRTEX7_GPU_FREQ_MAX 40000
/**
* CPU_SPEED_FUNC - A pointer to a function that calculates the CPU clock
@@ -73,10 +82,10 @@
#define PLATFORM_FUNCS (NULL)
/**
- * Protected mode switch
+ * Secure mode switch
*
- * Attached value: pointer to @ref kbase_protected_ops
+ * Attached value: pointer to @ref kbase_secure_ops
*/
-#define PROTECTED_CALLBACKS (NULL)
+#define SECURE_CALLBACKS (NULL)
extern struct kbase_pm_callback_conf pm_callbacks;