summaryrefslogtreecommitdiff
path: root/mali_kbase/Makefile
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2021-09-27 13:55:55 -0700
committerSean Callanan <spyffe@google.com>2021-10-07 21:16:39 +0000
commit66f97185a17de026db3685d872fc924ede192bcd (patch)
tree458eade0df7ebbe255ba5c737ff8dbb757905b60 /mali_kbase/Makefile
parentc3092d10ad663b9303adedeb7ccea367c697c145 (diff)
downloadgpu-66f97185a17de026db3685d872fc924ede192bcd.tar.gz
mali_kbase: platform: Re-add gs101 power management
This change allows building a gs101 gpu driver from this branch again, re-adding the power management code that was (temporarily) rewritten for gs201. This is just the first step: none of the differences have been removed yet; CONFIG_SOC_* is used to pick the right code path for the current build target. Bug: 197597613 Signed-off-by: Jesse Hall <jessehall@google.com> Change-Id: I69ad36a8b6993684390d6e011a10879d60a4c898
Diffstat (limited to 'mali_kbase/Makefile')
-rw-r--r--mali_kbase/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mali_kbase/Makefile b/mali_kbase/Makefile
index ee48774..0c0f1db 100644
--- a/mali_kbase/Makefile
+++ b/mali_kbase/Makefile
@@ -36,15 +36,22 @@ endif
# Core kbase configuration options
CONFIG_MALI_EXPERT=y
CONFIG_MALI_MIDGARD_DVFS=y
-CONFIG_MALI_CSF_SUPPORT?=y
+ifneq ($(CONFIG_SOC_GS101),y)
+CONFIG_MALI_CSF_SUPPORT=y
+endif
# Pixel integration specific configuration options
CONFIG_MALI_PLATFORM_NAME="pixel"
+ifeq ($(CONFIG_SOC_GS201),y)
+# Temporarily disabled during bringup; delete each line to re-enable
CONFIG_MALI_PIXEL_GPU_QOS=n
CONFIG_MALI_PIXEL_GPU_BTS=n
-CONFIG_MALI_PIXEL_GPU_THERMAL=y
CONFIG_MALI_PIXEL_GPU_SECURE_RENDERING=n
-
+endif
+CONFIG_MALI_PIXEL_GPU_QOS?=y
+CONFIG_MALI_PIXEL_GPU_BTS?=y
+CONFIG_MALI_PIXEL_GPU_SECURE_RENDERING?=y
+CONFIG_MALI_PIXEL_GPU_THERMAL?=y
#
# Default configuration values