Re: [PATCH v5 11/14] drm/panthor: Add the driver frontend block

2024-02-29 Thread Boris Brezillon
On Sun, 18 Feb 2024 22:41:25 +0100 Boris Brezillon wrote: > +static int panthor_ioctl_bo_create(struct drm_device *ddev, void *data, > +struct drm_file *file) > +{ > + struct panthor_file *pfile = file->driver_priv; > + struct drm_panthor_bo_create *args =

[PATCH v5 11/14] drm/panthor: Add the driver frontend block

2024-02-18 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. v5: - Account for the drm_exec_init() prototype change - Include platform_device.h v4: - Add an ioctl to let the UMD query the VM state - Fix ker