[PATCH] drm/xe: Do not flood dmesg with guc log

Lucas De Marchi lucas.demarchi at intel.com
Wed Jan 17 23:42:00 UTC 2024


On Wed, Jan 17, 2024 at 03:40:59PM -0500, Rodrigo Vivi wrote:
>This information is already present at
>/sys/kernel/debug/dri/0/gt0/uc/guc_log if needed.

but is it persisted if we couldn't load guc?

>
>Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
>---
> drivers/gpu/drm/xe/xe_guc.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
>index 235d27b17ff99..2a71348c5deda 100644
>--- a/drivers/gpu/drm/xe/xe_guc.c
>+++ b/drivers/gpu/drm/xe/xe_guc.c
>@@ -466,7 +466,6 @@ static int guc_wait_ucode(struct xe_guc *guc)
> 			ret = -ENXIO;
> 		}
>

trailing newline above

Lucas De Marchi

>-		xe_guc_log_print(&guc->log, &p);
> 	} else {
> 		drm_dbg(&xe->drm, "GuC successfully loaded");
> 	}
>-- 
>2.43.0
>


More information about the Intel-xe mailing list