From 0122df02626f5b50bd5c63664e7b64a130f8cc85 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 25 Oct 2024 11:58:11 +0200 Subject: [PATCH] panfrost: Log when an unusable group caused a context re-initialization Useful to track GPU context re-initialization. Signed-off-by: Boris Brezillon Reviewed-by: Daniel Stone Part-of: --- src/gallium/drivers/panfrost/pan_csf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/panfrost/pan_csf.c b/src/gallium/drivers/panfrost/pan_csf.c index 57aaa8ebcdb..aaea43fc08d 100644 --- a/src/gallium/drivers/panfrost/pan_csf.c +++ b/src/gallium/drivers/panfrost/pan_csf.c @@ -580,6 +580,7 @@ csf_check_ctx_state_and_reinit(struct panfrost_context *ctx) ? PIPE_INNOCENT_CONTEXT_RESET : PIPE_GUILTY_CONTEXT_RESET); + mesa_loge("Group became unusable, re-initializing context"); panfrost_context_reinit(ctx); }