diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-04-09 10:58:26 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-04-13 09:40:11 -0700 |
| commit | 9022f010977fe7b8f3246647fa9eeaa8a84336fe (patch) | |
| tree | 080f4c46f5cd9d46f7177764b72220a2e8747d04 /include/linux/timerqueue.h | |
| parent | e96a086ada9112475dc6c8a3a4735291927b5f3c (diff) | |
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
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
