Re: [PATCH] drm/sched: Declare entity idle only after HW submission

2021-06-28 Thread Boris Brezillon
On Mon, 28 Jun 2021 11:46:08 +0200 Lucas Stach wrote: > Am Donnerstag, dem 24.06.2021 um 16:08 +0200 schrieb Boris Brezillon: > > The panfrost driver tries to kill in-flight jobs on FD close after > > destroying the FD scheduler entities. For this to work properly, we > > need to make sure the jo

Re: [PATCH] drm/sched: Declare entity idle only after HW submission

2021-06-28 Thread Lucas Stach
Am Donnerstag, dem 24.06.2021 um 16:08 +0200 schrieb Boris Brezillon: > The panfrost driver tries to kill in-flight jobs on FD close after > destroying the FD scheduler entities. For this to work properly, we > need to make sure the jobs popped from the scheduler entities have > been queued at the

Re: [PATCH] drm/sched: Declare entity idle only after HW submission

2021-06-24 Thread Steven Price
On 24/06/2021 15:08, Boris Brezillon wrote: > The panfrost driver tries to kill in-flight jobs on FD close after > destroying the FD scheduler entities. For this to work properly, we > need to make sure the jobs popped from the scheduler entities have > been queued at the HW level before declaring

[PATCH] drm/sched: Declare entity idle only after HW submission

2021-06-24 Thread Boris Brezillon
The panfrost driver tries to kill in-flight jobs on FD close after destroying the FD scheduler entities. For this to work properly, we need to make sure the jobs popped from the scheduler entities have been queued at the HW level before declaring the entity idle, otherwise we might iterate over a l