Re: [PATCH v3 2/5] drm/gem/shmem: Initialize private objects via drm_gem_shmem_init() too
From: Daniel Almeida
Date: Fri Dec 04 2026 - 15:41:25 EST
> On 3 Dec 2026, at 07:14, Janne Grunau <j@xxxxxxxxxx> wrote:
>
> Rust drivers need to initialize private gem objects when importing
> DMA-bufs. As with regular objects the ideal way is to allocate the
> object in Rust and initialize it via the DRM gem shmem helper. Expose
> the `private` to the exported drm_gem_shmem_init() function.
The `private` parameter, perhaps?
Reviewed-by: Daniel Almeida <daniel.almeida@xxxxxxxxxxxxx>