summaryrefslogtreecommitdiff
path: root/mali_kbase/Makefile
diff options
context:
space:
mode:
authordiverj <diverj@google.com>2021-10-06 10:01:20 +0000
committerJack Diver <diverj@google.com>2022-03-21 18:23:18 +0000
commit5185324b9ee4c93fde1034fe9bf8a98f5cf10146 (patch)
tree242c1e51e73ee598b0c2eb30a8cf9a9ccfe671bc /mali_kbase/Makefile
parent26b3e9e78f4b7d954c5877dfe88fc39e908f3236 (diff)
downloadgpu-5185324b9ee4c93fde1034fe9bf8a98f5cf10146.tar.gz
mali_kbase: platform: GPU SSCD
Add plumbing to trigger a subsystem core-dump when an internal firmware error is encountered. * Add an optional callback to trigger a subsystem core dump. * Implement an SSCD outline, using stubs pending firmware support. Bug: 156051622 Change-Id: I6d82a6b7fe4f1e25a1e1411c4567eb5acdabeae1 Signed-off-by: diverj <diverj@google.com>
Diffstat (limited to 'mali_kbase/Makefile')
-rw-r--r--mali_kbase/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mali_kbase/Makefile b/mali_kbase/Makefile
index a4a14e8..a3dffca 100644
--- a/mali_kbase/Makefile
+++ b/mali_kbase/Makefile
@@ -46,6 +46,9 @@ 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
+ifeq ($(CONFIG_MALI_CSF_SUPPORT),y)
+CONFIG_MALI_PIXEL_GPU_SSCD ?= n
+endif
#
# Default configuration values
@@ -220,7 +223,8 @@ CONFIGS += \
CONFIG_MALI_PIXEL_GPU_QOS \
CONFIG_MALI_PIXEL_GPU_BTS \
CONFIG_MALI_PIXEL_GPU_THERMAL \
- CONFIG_MALI_PIXEL_GPU_SECURE_RENDERING
+ CONFIG_MALI_PIXEL_GPU_SECURE_RENDERING \
+ CONFIG_MALI_PIXEL_GPU_SSCD
#