Re: [PATCH v2 5/8] rust: drm: add DRM driver registration

2024-07-02 Thread Lyude Paul
Some comments down below: On Wed, 2024-06-19 at 01:31 +0200, Danilo Krummrich wrote: > Implement the DRM driver `Registration`. > > The `Registration` structure is responsible to register and unregister a > DRM driver. It makes use of the `Devres` container in order to allow the > `Registration`

[PATCH v2 5/8] rust: drm: add DRM driver registration

2024-06-18 Thread Danilo Krummrich
Implement the DRM driver `Registration`. The `Registration` structure is responsible to register and unregister a DRM driver. It makes use of the `Devres` container in order to allow the `Registration` to be owned by devres, such that it is automatically dropped (and the DRM driver unregistered) o