mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
accel/amdxdna: Check for device hang on job timeout
A job timeout does not necessarily indicate that the device is hung, as it may still be processing other jobs. Track whether any jobs have been successfully submitted or completed, and use this information to determine if the device is making forward progress. If so, return DRM_GPU_SCHED_STAT_NO_HANG instead of treating the timeout as a device hang. In the meanwhile the timeout interval is changed to 2 seconds which meets the userspace requirement. Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260409175826.195665-1-lizhi.hou@amd.com
This commit is contained in:
parent
e96a086ada
commit
9022f01097
2 changed files with 37 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue