From: Michal Wajdeczko Date: Tue, 28 Nov 2023 15:15:03 +0000 (+0100) Subject: drm/xe: Define DRM_XE_DEBUG_SRIOV config X-Git-Tag: v6.8-rc1~111^2~7^2~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed750833f165869abf5effed5e02418d754647b0;p=thirdparty%2Flinux.git drm/xe: Define DRM_XE_DEBUG_SRIOV config We will be using extra logs during enabling of the SR-IOV features or when adding support for new platforms. Define separate config flag to keep that low level logs disabled if we're not debugging. Reviewed-by: Lucas De Marchi Link: https://lore.kernel.org/r/20231128151507.1015-2-michal.wajdeczko@intel.com Signed-off-by: Michal Wajdeczko Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/Kconfig.debug b/drivers/gpu/drm/xe/Kconfig.debug index 11bb13c73e7b6..549065f57a78e 100644 --- a/drivers/gpu/drm/xe/Kconfig.debug +++ b/drivers/gpu/drm/xe/Kconfig.debug @@ -40,6 +40,16 @@ config DRM_XE_DEBUG_VM If in doubt, say "N". +config DRM_XE_DEBUG_SRIOV + bool "Enable extra SR-IOV debugging" + default n + 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