summaryrefslogtreecommitdiff
path: root/drivers/gpu/trace/Kconfig
diff options
context:
space:
mode:
authorJuston Li <justonli@chromium.org>2025-06-11 15:51:23 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2025-07-08 09:34:47 -0700
commit5d95cbf21a4a550f2a2050c947083de2587cf46d (patch)
tree08fe93b7e8e7b5b1fabc7f5eee7c677d96936fcd /drivers/gpu/trace/Kconfig
parent3e89a8c6835476aa782da80585dee9ddae651eea (diff)
gpu/trace: make TRACE_GPU_MEM configurable
Move the source to a better place in Device Drivers -> Graphics support now that its configurable. v4: - Move source location (Tvrtko) v3: - Patch introduced to replace per-driver config (Lucas) Signed-off-by: Juston Li <justonli@chromium.org> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20250611225145.1739201-1-justonli@chromium.org Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/trace/Kconfig')
-rw-r--r--drivers/gpu/trace/Kconfig11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpu/trace/Kconfig b/drivers/gpu/trace/Kconfig
index c24e9edd022e..cd3d19c4a201 100644
--- a/drivers/gpu/trace/Kconfig
+++ b/drivers/gpu/trace/Kconfig
@@ -1,4 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-only
config TRACE_GPU_MEM
- bool
+ bool "Enable GPU memory usage tracepoints"
+ default n
+ help
+ Choose this option to enable tracepoints for tracking
+ global and per-process GPU memory usage. Intended for
+ performance profiling and required for Android.
+
+ Tracepoint availability varies by GPU driver.
+
+ If in doubt, say "N".