Message ID | 80bb56a361c3a4f7567f1d8a8adb050fdff62462.1711474310.git.geert+renesas@glider.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: DRM_DEBUG_MODESET_LOCK should depend on DRM | expand |
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
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@glider.be> --- drivers/gpu/drm/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)