v3:
 - Patch introduced to replace per-driver config (Lucas)

Signed-off-by: Juston Li <[email protected]>
---
 drivers/gpu/trace/Kconfig | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/trace/Kconfig b/drivers/gpu/trace/Kconfig
index c24e9edd022e6..cd3d19c4a201c 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".
-- 
2.49.0.1204.g71687c7c1d-goog

Reply via email to