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

Lucas De Marchi lucas.demarchi at intel.com
Tue Jan 30 21:18:30 UTC 2024


On Thu, Jan 25, 2024 at 10:26:52PM +0530, Karthik Poosa wrote:
>Reduce debug print from warn to debug to avoid uncessary
>warning message in dmesg (Lucas).
>
>Fixes: c5a06c9169f3 ("drm/xe/guc: Enable WA 14018913170")
>Suggested-by: Lucas De Marchi <lucas.demarchi at intel.com>
>Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>


thanks, I reworded the commit and debug messages a little and applied
to drm-xe-next.

Lucas De Marchi

>---
> drivers/gpu/drm/xe/xe_guc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
>index 576ff2c1fbb9..f4e555611baa 100644
>--- a/drivers/gpu/drm/xe/xe_guc.c
>+++ b/drivers/gpu/drm/xe/xe_guc.c
>@@ -174,8 +174,8 @@ 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",
>-				 version->major, version->minor, version->patch);
>+			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);
> 	}
>
> 	return flags;
>-- 
>2.25.1
>


More information about the Intel-xe mailing list