[PATCH v5 0/2] drm/panthor: Scheduler fixes for termination failure and timeouts

From: Ashley Smith
Date: Tue Jun 03 2025 - 05:51:57 EST


This patch series includes previously attempted patches to fix panthor
scheduler issues with spurious timeouts and issues when a termination
failed which would lead to a race condition.

---
Changes in v5:
- Swiched to a patch series to make sure the patch which addresses the
bug is added as a requirement on the scheduler patch.
Changes in v4:
- Moved code related to a timeout bug to a separate patch as this
was not relevant to this change.
Changes in v3:
- Moved to a patch series to make sure this bug fix happens before the
changes to the scheduler
Changes in v2:
- Fixed syntax error

Signed-off-by: Ashley Smith <ashley.smith@xxxxxxxxxxxxx>
---
Ashley Smith (2):
drm/panthor: Reset queue slots if termination fails
drm/panthor: Make the timeout per-queue instead of per-job

drivers/gpu/drm/panthor/panthor_sched.c | 244 +++++++++++++++++-------
1 file changed, 177 insertions(+), 67 deletions(-)


base-commit: 9528e54198f29548b18b0a5b343a31724e83c68b
--
2.43.0