summaryrefslogtreecommitdiff
path: root/mali_kbase/Mconfig
diff options
context:
space:
mode:
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