Re: [RFC PATCH] drm/sched: Wait for the currently popped dependency in kill_jobs_cb()

2023-06-09 Thread Christian König
Am 09.06.23 um 16:10 schrieb Boris Brezillon: Hello Christian, On Fri, 9 Jun 2023 13:53:59 +0200 Christian König wrote: Am 08.06.23 um 08:55 schrieb Boris Brezillon: If I understand correctly, drm_sched_entity_kill_jobs_cb() is supposed to wait on all the external dependencies (those added t

Re: [RFC PATCH] drm/sched: Wait for the currently popped dependency in kill_jobs_cb()

2023-06-09 Thread Boris Brezillon
Hello Christian, On Fri, 9 Jun 2023 13:53:59 +0200 Christian König wrote: > Am 08.06.23 um 08:55 schrieb Boris Brezillon: > > If I understand correctly, drm_sched_entity_kill_jobs_cb() is supposed > > to wait on all the external dependencies (those added to > > drm_sched_job::dependencies) befor

Re: [RFC PATCH] drm/sched: Wait for the currently popped dependency in kill_jobs_cb()

2023-06-09 Thread Christian König
Am 08.06.23 um 08:55 schrieb Boris Brezillon: If I understand correctly, drm_sched_entity_kill_jobs_cb() is supposed to wait on all the external dependencies (those added to drm_sched_job::dependencies) before signaling the job finished fence. This is done this way to prevent jobs depending on th

Re: [RFC PATCH] drm/sched: Wait for the currently popped dependency in kill_jobs_cb()

2023-06-08 Thread Boris Brezillon
On Thu, 8 Jun 2023 08:55:51 +0200 Boris Brezillon wrote: > If I understand correctly, drm_sched_entity_kill_jobs_cb() is supposed > to wait on all the external dependencies (those added to > drm_sched_job::dependencies) before signaling the job finished fence. > This is done this way to prevent

[RFC PATCH] drm/sched: Wait for the currently popped dependency in kill_jobs_cb()

2023-06-07 Thread Boris Brezillon
If I understand correctly, drm_sched_entity_kill_jobs_cb() is supposed to wait on all the external dependencies (those added to drm_sched_job::dependencies) before signaling the job finished fence. This is done this way to prevent jobs depending on these canceled jobs from considering the resources