summaryrefslogtreecommitdiff
path: root/mali_kbase/Mconfig
diff options
context:
space:
mode:
authorJack Diver <diverj@google.com>2022-09-02 11:38:04 +0000
committerJack Diver <diverj@google.com>2022-09-02 14:33:02 +0000
commitc30533582604fe0365bc3ce4e9e8e19dec3109da (patch)
tree2dc4d074c820b535e9f18b8cd81d7e91bff042e5 /mali_kbase/Mconfig
parent88d7d984fed1c2a4358ce2bbc334e82d71e3a391 (diff)
downloadgpu-c30533582604fe0365bc3ce4e9e8e19dec3109da.tar.gz
Mali Valhall Android DDK r38p1-01eac0
VX504X08X-BU-00000-r38p1-01eac0 - Valhall Android DDK VX504X08X-BU-60000-r38p1-01eac0 - Valhall Android Document Bundle VX504X08X-DC-11001-r38p1-01eac0 - Valhall Android DDK Software Errata VX504X08X-SW-99006-r38p1-01eac0 - Valhall Android Renderscript AOSP parts Signed-off-by: Jack Diver <diverj@google.com> Change-Id: I242060ad8ddc14475bda657cbbbe6b6c26ecfd57
Diffstat (limited to 'mali_kbase/Mconfig')
-rw-r--r--mali_kbase/Mconfig19
1 files changed, 16 insertions, 3 deletions
diff --git a/mali_kbase/Mconfig b/mali_kbase/Mconfig
index 0f8f273..364be34 100644
--- a/mali_kbase/Mconfig
+++ b/mali_kbase/Mconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
#
-# (C) COPYRIGHT 2012-2021 ARM Limited. All rights reserved.
+# (C) COPYRIGHT 2012-2022 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
@@ -65,8 +65,7 @@ config MALI_CSF_SUPPORT
config MALI_DEVFREQ
bool "Enable devfreq support for Mali"
depends on MALI_MIDGARD
- default y if PLATFORM_JUNO
- default y if PLATFORM_CUSTOM
+ default y
help
Support devfreq for Mali.
@@ -192,6 +191,20 @@ config MALI_CORESTACK
If unsure, say N.
+config MALI_FW_CORE_DUMP
+ bool "Enable support for FW core dump"
+ depends on MALI_MIDGARD && MALI_EXPERT && MALI_CSF_SUPPORT
+ default n
+ help
+ Adds ability to request firmware core dump
+
+ Example:
+ * To explicitly request core dump:
+ echo 1 >/sys/kernel/debug/mali0/fw_core_dump
+ * To output current core dump (after explicitly requesting a core dump,
+ or kernel driver reported an internal firmware error):
+ cat /sys/kernel/debug/mali0/fw_core_dump
+
choice
prompt "Error injection level"
depends on MALI_MIDGARD && MALI_EXPERT