Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Don't force DRM_XE_DEBUG_MEMIRQ for SR-IOV debug
@ 2025-10-02 17:13 Michal Wajdeczko
  2025-10-02 17:33 ` Cavitt, Jonathan
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Michal Wajdeczko @ 2025-10-02 17:13 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

For pure SR-IOV debugging there is no need to select already
separated config for the debugging of the memory based interrupts,
as the latter is also very noisy on its own. Change config order
and use a weak reverse dependency instead.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
 drivers/gpu/drm/xe/Kconfig.debug | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/gpu/drm/xe/Kconfig.debug b/drivers/gpu/drm/xe/Kconfig.debug
index 87902b4bd6d3..01227c77f6d7 100644
--- a/drivers/gpu/drm/xe/Kconfig.debug
+++ b/drivers/gpu/drm/xe/Kconfig.debug
@@ -40,6 +40,17 @@ config DRM_XE_DEBUG_VM
 
 	  If in doubt, say "N".
 
+config DRM_XE_DEBUG_SRIOV
+	bool "Enable extra SR-IOV debugging"
+	default n
+	imply DRM_XE_DEBUG_MEMIRQ
+	help
+	  Enable extra SR-IOV debugging info.
+
+	  Recommended for driver developers only.
+
+	  If in doubt, say "N".
+
 config DRM_XE_DEBUG_MEMIRQ
 	bool "Enable extra memirq debugging"
 	default n
@@ -51,17 +62,6 @@ config DRM_XE_DEBUG_MEMIRQ
 
 	  If in doubt, say "N".
 
-config DRM_XE_DEBUG_SRIOV
-	bool "Enable extra SR-IOV debugging"
-	default n
-	select DRM_XE_DEBUG_MEMIRQ
-	help
-	  Enable extra SR-IOV debugging info.
-
-	  Recommended for driver developers only.
-
-	  If in doubt, say "N".
-
 config DRM_XE_DEBUG_MEM
 	bool "Enable passing SYS/VRAM addresses to user space"
 	default n
-- 
2.47.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-10-06 13:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-02 17:13 [PATCH] drm/xe: Don't force DRM_XE_DEBUG_MEMIRQ for SR-IOV debug Michal Wajdeczko
2025-10-02 17:33 ` Cavitt, Jonathan
2025-10-02 17:36 ` ✗ CI.checkpatch: warning for " Patchwork
2025-10-02 17:37 ` ✓ CI.KUnit: success " Patchwork
2025-10-02 18:13 ` ✓ Xe.CI.BAT: " Patchwork
2025-10-02 20:46 ` ✓ Xe.CI.Full: " Patchwork
2025-10-06 13:42 ` [PATCH] " Piotr Piórkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox