]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/guc: Drop error messages about missing GuC logs
authorJohn Harrison <John.C.Harrison@Intel.com>
Mon, 13 Jan 2025 19:44:04 +0000 (11:44 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:13:46 +0000 (11:13 +0200)
commit0be5486e33920a4972f38724616623d2098a79f0
tree9a4c893dd02c790d6c2d3401cd9cc2dde892ba4c
parent123ede41d5ece2e977420ce078405e933ea9bd42
drm/xe/guc: Drop error messages about missing GuC logs

[ Upstream commit 174e9ce0daf6af791386e96e76e743eb59e8a401 ]

The GuC log snapshot code would complain loudly if there was no GuC
log to take a snapshot of or if the snapshot alloc failed. Originally,
this code was only called on demand when a user (or developer)
explicitly requested a dump of the log. Hence an error message was
useful.

However, it is now part of the general devcoredump file and is called
for any GPU hang. Most people don't care about GuC logs and GPU hangs
do not generally mean a kernel/GuC bug. More importantly, there are
valid situations where there is no GuC log, e.g. SRIOV VFs.

So drop the error message.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3958
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113194405.2033085-1-John.C.Harrison@Intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xe/xe_guc_log.c