summaryrefslogtreecommitdiff
path: root/drivers/gpu/trace/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/trace/Kconfig')
-rw-r--r--drivers/gpu/trace/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/trace/Kconfig b/drivers/gpu/trace/Kconfig
new file mode 100644
index 000000000000..cd3d19c4a201
--- /dev/null
+++ b/drivers/gpu/trace/Kconfig
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config TRACE_GPU_MEM
+ 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".