[Intel-xe] [PATCH 1/5] drm/xe: Define DRM_XE_DEBUG_SRIOV config

Lucas De Marchi lucas.demarchi at intel.com
Thu Dec 7 14:17:48 UTC 2023


On Tue, Nov 28, 2023 at 04:15:03PM +0100, Michal Wajdeczko wrote:
>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.
>
>Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi

>---
> drivers/gpu/drm/xe/Kconfig.debug | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
>diff --git a/drivers/gpu/drm/xe/Kconfig.debug b/drivers/gpu/drm/xe/Kconfig.debug
>index 11bb13c73e7b..549065f57a78 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
>-- 
>2.25.1
>


More information about the Intel-xe mailing list