[<prev] [next>] [day] [month] [year] [list]
Message-Id: <80bb56a361c3a4f7567f1d8a8adb050fdff62462.1711474310.git.geert+renesas@glider.be>
Date: Tue, 26 Mar 2024 18:32:12 +0100
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>
Cc: dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH] drm: DRM_DEBUG_MODESET_LOCK should depend on DRM
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@...der.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
Powered by blists - more mailing lists