Re: [PATCH v2 12/15] drm/panthor: Add the driver frontend block

2023-09-06 Thread Boris Brezillon
On Wed, 6 Sep 2023 14:38:15 +0200 Ketil Johnsen wrote: > On 8/9/23 18:53, Boris Brezillon wrote: > > +static int panthor_ioctl_vm_create(struct drm_device *ddev, void *data, > > + struct drm_file *file) > > +{ > > + struct panthor_device *ptdev = container_of(ddev,

Re: [PATCH v2 12/15] drm/panthor: Add the driver frontend block

2023-09-06 Thread Ketil Johnsen
On 8/9/23 18:53, Boris Brezillon wrote: +static int panthor_ioctl_vm_create(struct drm_device *ddev, void *data, + struct drm_file *file) +{ + struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); + u32 va_bits = GPU_MMU_FEAT

Re: [PATCH v2 12/15] drm/panthor: Add the driver frontend block

2023-08-31 Thread Steven Price
On 29/08/2023 18:46, Boris Brezillon wrote: > On Mon, 21 Aug 2023 12:31:29 +0100 > Steven Price wrote: > >> On 09/08/2023 17:53, Boris Brezillon wrote: [...] >>> + * // Collect signal operations on all jobs, such that each job can pick >>> + * // from it for its dependencies and update the fenc

Re: [PATCH v2 12/15] drm/panthor: Add the driver frontend block

2023-08-29 Thread Boris Brezillon
On Mon, 21 Aug 2023 12:31:29 +0100 Steven Price wrote: > On 09/08/2023 17:53, Boris Brezillon wrote: > > This is the last piece missing to expose the driver to the outside > > world. > > > > This is basically a wrapper between the ioctls and the other logical > > blocks. > > > > v2: > > - Renam

Re: [PATCH v2 12/15] drm/panthor: Add the driver frontend block

2023-08-21 Thread Steven Price
On 09/08/2023 17:53, Boris Brezillon wrote: > This is the last piece missing to expose the driver to the outside > world. > > This is basically a wrapper between the ioctls and the other logical > blocks. > > v2: > - Rename the driver (pancsf -> panthor) > - Change the license (GPL2 -> MIT + GPL2

[PATCH v2 12/15] drm/panthor: Add the driver frontend block

2023-08-09 Thread Boris Brezillon
This is the last piece missing to expose the driver to the outside world. This is basically a wrapper between the ioctls and the other logical blocks. v2: - Rename the driver (pancsf -> panthor) - Change the license (GPL2 -> MIT + GPL2) - Split the driver addition commit - Document the code - Use