From: Michal Wajdeczko Date: Thu, 2 Oct 2025 17:13:08 +0000 (+0200) Subject: drm/xe: Don't force DRM_XE_DEBUG_MEMIRQ for SR-IOV debug X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=869580c415c975ac293a869a3e560e009a07e7c7;p=thirdparty%2Fkernel%2Flinux.git drm/xe: Don't force DRM_XE_DEBUG_MEMIRQ for SR-IOV debug 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 Reviewed-by: Jonathan Cavitt Reviewed-by: Piotr Piórkowski Link: https://lore.kernel.org/r/20251002171308.203127-1-michal.wajdeczko@intel.com --- diff --git a/drivers/gpu/drm/xe/Kconfig.debug b/drivers/gpu/drm/xe/Kconfig.debug index 87902b4bd6d3b..01227c77f6d70 100644 --- a/drivers/gpu/drm/xe/Kconfig.debug +++ b/drivers/gpu/drm/xe/Kconfig.debug @@ -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.