[PATCH] drm/xe/xe_guc: Reduce a print from warn to debug

Gupta, Anshuman anshuman.gupta at intel.com
Thu Jan 25 15:53:04 UTC 2024



> -----Original Message-----
> From: Poosa, Karthik <karthik.poosa at intel.com>
> Sent: Thursday, January 25, 2024 9:17 PM
> To: intel-xe at lists.freedesktop.org
> Cc: Gupta, Anshuman <anshuman.gupta at intel.com>; Nilawar, Badal
> <badal.nilawar at intel.com>; Ceraolo Spurio, Daniele
> <daniele.ceraolospurio at intel.com>; Harrison, John C
> <john.c.harrison at intel.com>; De Marchi, Lucas <lucas.demarchi at intel.com>;
> Poosa, Karthik <karthik.poosa at intel.com>
> Subject: [PATCH] drm/xe/xe_guc: Reduce a print from warn to debug
> 
> Reduce debug print from warn to debug to avoid uncessary warning message in
> dmesg (Lucas).
Please use  Suggested-by: <> tag to provide such credits.
Thanks,
Anshuman
> 
> Fixes: c5a06c9169f3 ("drm/xe/guc: Enable WA 14018913170")
> Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>
> ---
>  drivers/gpu/drm/xe/xe_guc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c index
> 576ff2c1fbb9..6fbeddc557af 100644
> --- a/drivers/gpu/drm/xe/xe_guc.c
> +++ b/drivers/gpu/drm/xe/xe_guc.c
> @@ -174,7 +174,7 @@ static u32 guc_ctl_wa_flags(struct xe_guc *guc)
>  		if (GUC_VER(version->major, version->minor, version->patch) >=
> GUC_VER(70, 7, 0))
>  			flags |= GUC_WA_ENABLE_TSC_CHECK_ON_RC6;
>  		else
> -			drm_warn(&xe->drm, "can't apply WA 14018913170,
> GUC version expected >= 70.7.0, found %u %u %u\n",
> +			drm_dbg(&xe->drm, "can't apply WA 14018913170, GUC
> version expected
> +>= 70.7.0, found %u %u %u\n",
>  				 version->major, version->minor, version-
> >patch);
>  	}
> 
> --
> 2.25.1



More information about the Intel-xe mailing list