Re: [PATCH v3] drm/panthor: Make the timeout per-queue instead of per-job

2025-04-14 Thread Boris Brezillon
On Mon, 14 Apr 2025 17:44:27 +0100 Ashley Smith wrote: > On Fri, 11 Apr 2025 16:51:52 +0100 Steven Price wrote: > > Hi Ashley, > > > > On 10/04/2025 13:57, Ashley Smith wrote: > > > The timeout logic provided by drm_sched leads to races when we try > > > to suspend it while the drm_s

Re: [PATCH v3] drm/panthor: Make the timeout per-queue instead of per-job

2025-04-14 Thread Ashley Smith
On Fri, 11 Apr 2025 16:51:52 +0100 Steven Price wrote: > Hi Ashley, > > On 10/04/2025 13:57, Ashley Smith wrote: > > The timeout logic provided by drm_sched leads to races when we try > > to suspend it while the drm_sched workqueue queues more jobs. Let's > > overhaul the timeout handl

Re: [PATCH v3] drm/panthor: Make the timeout per-queue instead of per-job

2025-04-11 Thread Steven Price
Hi Ashley, On 10/04/2025 13:57, Ashley Smith wrote: > The timeout logic provided by drm_sched leads to races when we try > to suspend it while the drm_sched workqueue queues more jobs. Let's > overhaul the timeout handling in panthor to have our own delayed work > that's resumed/suspended when a g

[PATCH v3] drm/panthor: Make the timeout per-queue instead of per-job

2025-04-10 Thread Ashley Smith
The timeout logic provided by drm_sched leads to races when we try to suspend it while the drm_sched workqueue queues more jobs. Let's overhaul the timeout handling in panthor to have our own delayed work that's resumed/suspended when a group is resumed/suspended. When an actual timeout occurs, we