diff --git a/drivers/Kconfig b/drivers/Kconfig index 4485b088aebc..b83c135628c2 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -198,8 +198,6 @@ source "drivers/thunderbolt/Kconfig" source "drivers/android/Kconfig" -source "drivers/gpu/trace/Kconfig" - source "drivers/nvdimm/Kconfig" source "drivers/dax/Kconfig" diff --git a/drivers/gpu/trace/Kconfig b/drivers/gpu/trace/Kconfig index 6fdeaaae59c9..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 "GPU memory trace points" + 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". diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 007151796f10..9f8080bc6564 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -47,5 +47,6 @@ if FB || SGI_NEWPORT_CONSOLE endif +source "drivers/gpu/trace/Kconfig" endmenu