Re: [PATCH 1/2] rust: drm: Return impl PinInit from drm::Registration::new()
From: Alice Ryhl
Date: Sat Oct 10 2026 - 11:04:23 EST
On Tue, Sep 29, 2026 at 9:00 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> Convert drm::Registration to return an impl PinInit<Self, Error> rather
> than creating a separate allocation. This removes an otherwise
> unnecessary allocation.
>
> Update both in-tree callers (nova, tyr) to construct their bus device
> private data using try_pin_init!().
>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
For both:
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>