[PATCH] drm: DRM_DEBUG_MODESET_LOCK should depend on DRM
Geert Uytterhoeven
geert+renesas at glider.be
Tue Mar 26 17:32:12 UTC 2024
There is no point in asking the user about enabling DRM debug tracing
when configuring a kernel without DRM support.
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
drivers/gpu/drm/Kconfig | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 2e1b23ccf30423a9..a24c48acf235449a 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -119,9 +119,7 @@ config DRM_DEBUG_DP_MST_TOPOLOGY_REFS
config DRM_DEBUG_MODESET_LOCK
bool "Enable backtrace history for lock contention"
- depends on STACKTRACE_SUPPORT
- depends on DEBUG_KERNEL
- depends on EXPERT
+ depends on DRM && STACKTRACE_SUPPORT && DEBUG_KERNEL && EXPERT
select STACKDEPOT
default y if DEBUG_WW_MUTEX_SLOWPATH
help
--
2.34.1
More information about the dri-devel
mailing list