drm/amdgpu: avoid a warning in timedout job handler

[ Upstream commit c8cf9ddc54 ]

Only set an error on the fence if the fence is not
signalled.  We can end up with a warning if the
per queue reset path signals the fence and sets an error
as part of the reset, but fails to recover.

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Alex Deucher 2025-12-12 11:46:48 -05:00 • committed by Sasha Levin
commit d89aef8079