Re: [PATCH v3 0/4] rust: Add ARef support for work items

From: Alice Ryhl

Date: Thu Mar 26 2026 - 12:04:57 EST


On Tue, Mar 24, 2026 at 12:27 AM Daniel Almeida
<daniel.almeida@xxxxxxxxxxxxx> wrote:
>
> This series adds ARef<T> support for both regular and delayed work items.
>
> - Patches 1 and 3 actually implement the support in workqueue.rs
> - Patches 2 and 4 adds a corresponding implementation in drm::Device that
> dispatches the calls to the underlying T::Data.
>
> This was tested on Tyr, and is actually needed in order to obtain a
> &drm::Device when handling work items. This is then needed in order to
> allocate GEM objects inside the work handler that processes the tiler OOM
> (out of memory) events. The current series sets the stage so that the above
> is possible in the future.

Applied to drm-rust-next. Thanks!