On Wed, 26 Mar 2025 00:54:28 +0100, Danilo Krummrich wrote:
> In the Rust DRM device abstraction we need to allocate a struct
> drm_device.
>
> Currently, there are two options, the deprecated drm_dev_alloc() (which
> does not support subclassing) and devm_drm_dev_alloc(). The latter
>
> [ ... ]
In the Rust DRM device abstraction we need to allocate a struct
drm_device.
Currently, there are two options, the deprecated drm_dev_alloc() (which
does not support subclassing) and devm_drm_dev_alloc(). The latter
supports subclassing, but also manages the initial reference through
devres for the