Re: [PATCH v3 14/15] drm/panfrost: Kill in-flight jobs on FD close

2021-06-25 Thread Boris Brezillon
On Fri, 25 Jun 2021 15:43:45 +0200 Lucas Stach wrote: > Am Freitag, dem 25.06.2021 um 15:33 +0200 schrieb Boris Brezillon: > > If the process who submitted these jobs decided to close the FD before > > the jobs are done it probably means it doesn't care about the result. > > > > v3: > > * Set fe

Re: [PATCH v3 14/15] drm/panfrost: Kill in-flight jobs on FD close

2021-06-25 Thread Lucas Stach
Am Freitag, dem 25.06.2021 um 15:33 +0200 schrieb Boris Brezillon: > If the process who submitted these jobs decided to close the FD before > the jobs are done it probably means it doesn't care about the result. > > v3: > * Set fence error to ECANCELED when a TERMINATED exception is received > >

[PATCH v3 14/15] drm/panfrost: Kill in-flight jobs on FD close

2021-06-25 Thread Boris Brezillon
If the process who submitted these jobs decided to close the FD before the jobs are done it probably means it doesn't care about the result. v3: * Set fence error to ECANCELED when a TERMINATED exception is received Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panfrost/panfrost_job.c | 43