summaryrefslogtreecommitdiff
path: root/mali_kbase/Kbuild
diff options
context:
space:
mode:
authorSidath Senanayake <sidaths@google.com>2021-04-14 19:14:30 +0100
committerSidath Senanayake <sidaths@google.com>2021-04-14 19:53:59 +0100
commit8037b534570814775d79aeddd06b76e5ee941f59 (patch)
treebd03fb25466475adb31333ff487350e1bd352fa1 /mali_kbase/Kbuild
parent5ddb2927918bdf131080bc488eb1fb455d1cdfb7 (diff)
downloadgpu-8037b534570814775d79aeddd06b76e5ee941f59.tar.gz
Mali Valhall DDK r30p0 KMD
Provenance 4a09e9e58 (collaborate/EAC/v_r30p0) VX504X08X-BU-00000-r30p0-01eac0 - Valhall Android DDK VX504X08X-BU-60000-r30p0-01eac0 - Valhall Android Document Bundle VX504X08X-DC-11001-r30p0-01eac0 - Valhall Android DDK Software Errata VX504X08X-SW-99006-r30p0-01eac0 - Valhall Android Renderscript AOSP parts Signed-off-by: Sidath Senanayake <sidaths@google.com> Change-Id: Ie30d6ece7ebe221c8e4c736af05ad05dcfc15127
Diffstat (limited to 'mali_kbase/Kbuild')
-rw-r--r--mali_kbase/Kbuild26
1 files changed, 18 insertions, 8 deletions
diff --git a/mali_kbase/Kbuild b/mali_kbase/Kbuild
index c8cef84..1c9e109 100644
--- a/mali_kbase/Kbuild
+++ b/mali_kbase/Kbuild
@@ -1,10 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
#
-# (C) COPYRIGHT 2012-2020 ARM Limited. All rights reserved.
+# (C) COPYRIGHT 2012-2021 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
# Foundation, and any use by you of this program is subject to the terms
-# of such GNU licence.
+# of such GNU license.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -15,13 +16,11 @@
# along with this program; if not, you can access it online at
# http://www.gnu.org/licenses/gpl-2.0.html.
#
-# SPDX-License-Identifier: GPL-2.0
-#
#
# Driver version string which is returned to userspace via an ioctl
-MALI_RELEASE_NAME ?= "r29p0-01eac0"
+MALI_RELEASE_NAME ?= "r30p0-01eac0"
# Paths required for build
@@ -33,11 +32,8 @@ UMP_PATH = $(src)/../../../base
# Set up defaults if not defined by build system
MALI_CUSTOMER_RELEASE ?= 1
-MALI_USE_CSF ?= 0
MALI_UNIT_TEST ?= 0
-MALI_KERNEL_TEST_API ?= 0
MALI_COVERAGE ?= 0
-MALI_JIT_PRESSURE_LIMIT_BASE ?= 1
CONFIG_MALI_PLATFORM_NAME ?= "devicetree"
# Experimental features (corresponding -D definition should be appended to
# DEFINES below, e.g. for MALI_EXPERIMENTAL_FEATURE,
@@ -47,6 +43,20 @@ CONFIG_MALI_PLATFORM_NAME ?= "devicetree"
# MALI_EXPERIMENTAL_FEATURE ?= 0
MALI_INCREMENTAL_RENDERING ?= 0
+ifeq ($(CONFIG_MALI_CSF_SUPPORT),y)
+MALI_JIT_PRESSURE_LIMIT_BASE = 0
+MALI_USE_CSF = 1
+else
+MALI_JIT_PRESSURE_LIMIT_BASE ?= 1
+MALI_USE_CSF ?= 0
+endif
+
+ifneq ($(CONFIG_MALI_KUTF), n)
+MALI_KERNEL_TEST_API ?= 1
+else
+MALI_KERNEL_TEST_API ?= 0
+endif
+
# Set up our defines, which will be passed to gcc
DEFINES = \
-DMALI_CUSTOMER_RELEASE=$(MALI_CUSTOMER_RELEASE) \