Commit 869580c4 authored by Michal Wajdeczko's avatar Michal Wajdeczko
Browse files

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: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: default avatarJonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: default avatarPiotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://lore.kernel.org/r/20251002171308.203127-1-michal.wajdeczko@intel.com
parent a908de69
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -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.