summaryrefslogtreecommitdiff
path: root/mali_kbase/Mconfig
diff options
context:
space:
mode:
authorJörg Wagner <jorwag@google.com>2023-08-31 19:15:13 +0000
committerJörg Wagner <jorwag@google.com>2023-09-01 09:13:55 +0000
commitb6fd708b3a4da86a196a61592ea3585f1aca7313 (patch)
tree1cbe3029a45bf9869c17a5b6954e5ae074b44ac8 /mali_kbase/Mconfig
parent46edf1b5965d872c5f8a09c6dc3dcbff58f78a92 (diff)
parente61eb93296e9f940b32d4ad4b0c3a5557cbeaf17 (diff)
downloadgpu-b6fd708b3a4da86a196a61592ea3585f1aca7313.tar.gz
Merge r44p1-00dev3 from partner/upstream into android13-gs-pixel-5.10-udc-qpr1
Bug: 290882327 Change-Id: I90723cbaa3f294431087587fd8025f0688e51bf2
Diffstat (limited to 'mali_kbase/Mconfig')
-rw-r--r--mali_kbase/Mconfig52
1 files changed, 52 insertions, 0 deletions
diff --git a/mali_kbase/Mconfig b/mali_kbase/Mconfig
index 77a528f..2d6fca0 100644
--- a/mali_kbase/Mconfig
+++ b/mali_kbase/Mconfig
@@ -196,6 +196,18 @@ config MALI_CORESTACK
If unsure, say N.
+config PAGE_MIGRATION_SUPPORT
+ bool "Compile with page migration support"
+ depends on BACKEND_KERNEL
+ default y
+ default n if ANDROID
+ help
+ Compile in support for page migration.
+ If set to disabled ('n') then page migration cannot
+ be enabled at all. If set to enabled, then page migration
+ support is explicitly compiled in. This has no effect when
+ PAGE_MIGRATION_OVERRIDE is disabled.
+
choice
prompt "Error injection level"
depends on MALI_MIDGARD && MALI_EXPERT
@@ -352,5 +364,45 @@ config MALI_HOST_CONTROLS_SC_RAILS
Adapter) inside the GPU to handshake with SoC PMU to control the
power of cores.
+config MALI_TRACE_POWER_GPU_WORK_PERIOD
+ bool "Enable per-application GPU metrics tracepoints"
+ depends on MALI_MIDGARD
+ default y
+ help
+ This option enables per-application GPU metrics tracepoints.
+
+ If unsure, say N.
+
+choice
+ prompt "CSF Firmware trace mode"
+ depends on MALI_MIDGARD
+ default MALI_FW_TRACE_MODE_MANUAL
+ help
+ CSF Firmware log operating mode.
+
+config MALI_FW_TRACE_MODE_MANUAL
+ bool "manual mode"
+ depends on MALI_MIDGARD
+ help
+ firmware log can be read manually by the userspace (and it will
+ also be dumped automatically into dmesg on GPU reset).
+
+config MALI_FW_TRACE_MODE_AUTO_PRINT
+ bool "automatic printing mode"
+ depends on MALI_MIDGARD
+ help
+ firmware log will be periodically emptied into dmesg, manual
+ reading through debugfs is disabled.
+
+config MALI_FW_TRACE_MODE_AUTO_DISCARD
+ bool "automatic discarding mode"
+ depends on MALI_MIDGARD
+ help
+ firmware log will be periodically discarded, the remaining log can be
+ read manually by the userspace (and it will also be dumped
+ automatically into dmesg on GPU reset).
+
+endchoice
+
source "kernel/drivers/gpu/arm/arbitration/Mconfig"
source "kernel/drivers/gpu/arm/midgard/tests/Mconfig"