Re: [PATCH v5 6/8] drm/panfrost: Support synchronization jobs

2021-10-04 Thread Steven Price
On 04/10/2021 13:24, Boris Brezillon wrote: > On Mon, 4 Oct 2021 12:30:42 +0100 > Steven Price wrote: [...] >> >> It took me a while to convince myself that the reference counting for >> the PM reference is correct. Before panfrost_job_hw_submit() always >> returned with an extra reference, but no

Re: [PATCH v5 6/8] drm/panfrost: Support synchronization jobs

2021-10-04 Thread Boris Brezillon
On Mon, 4 Oct 2021 12:30:42 +0100 Steven Price wrote: > On 30/09/2021 20:09, Boris Brezillon wrote: > > Sometimes, all the user wants to do is add a synchronization point. > > Userspace can already do that by submitting a NULL job, but this implies > > submitting something to the GPU when we coul

Re: [PATCH v5 6/8] drm/panfrost: Support synchronization jobs

2021-10-04 Thread Steven Price
On 30/09/2021 20:09, Boris Brezillon wrote: > Sometimes, all the user wants to do is add a synchronization point. > Userspace can already do that by submitting a NULL job, but this implies > submitting something to the GPU when we could simply skip the job and > signal the done fence directly. > >

[PATCH v5 6/8] drm/panfrost: Support synchronization jobs

2021-09-30 Thread Boris Brezillon
Sometimes, all the user wants to do is add a synchronization point. Userspace can already do that by submitting a NULL job, but this implies submitting something to the GPU when we could simply skip the job and signal the done fence directly. v5: * New patch Signed-off-by: Boris Brezillon --- d