panfrost: Log when an unusable group caused a context re-initialization

Useful to track GPU context re-initialization.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31868>
This commit is contained in:
Boris Brezillon
2024-10-25 11:58:11 +02:00
committed by Marge Bot
parent a54c39e460
commit 0122df0262
+1
View File
@@ -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);
}