]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe: Don't force DRM_XE_DEBUG_MEMIRQ for SR-IOV debug
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 2 Oct 2025 17:13:08 +0000 (19:13 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 6 Oct 2025 17:11:30 +0000 (19:11 +0200)
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>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://lore.kernel.org/r/20251002171308.203127-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/Kconfig.debug

index 87902b4bd6d3be185a94004946371efd7d0e2669..01227c77f6d704d55d6ca46ba8bd8cee10448afb 100644 (file)
@@ -40,23 +40,23 @@ config DRM_XE_DEBUG_VM
 
          If in doubt, say "N".
 
-config DRM_XE_DEBUG_MEMIRQ
-       bool "Enable extra memirq debugging"
+config DRM_XE_DEBUG_SRIOV
+       bool "Enable extra SR-IOV debugging"
        default n
+       imply DRM_XE_DEBUG_MEMIRQ
        help
-         Choose this option to enable additional debugging info for
-         memory based interrupts.
+         Enable extra SR-IOV debugging info.
 
          Recommended for driver developers only.
 
          If in doubt, say "N".
 
-config DRM_XE_DEBUG_SRIOV
-       bool "Enable extra SR-IOV debugging"
+config DRM_XE_DEBUG_MEMIRQ
+       bool "Enable extra memirq debugging"
        default n
-       select DRM_XE_DEBUG_MEMIRQ
        help
-         Enable extra SR-IOV debugging info.
+         Choose this option to enable additional debugging info for
+         memory based interrupts.
 
          Recommended for driver developers only.