Re: [PATCH 3/4] rust: Add dma_fence abstractions

From: Boris Brezillon

Date: Mon Jun 01 2026 - 08:39:30 EST


On Mon, 1 Jun 2026 10:36:06 +0000
Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:

> > +pub trait FenceCtxOps {}
>
> This empty trait is unused.
>
> > +/// A dma-fence context. A fence context takes care of associating related fences with each other,
> > +/// providing each with raising sequence numbers and a common identifier.
> > +#[pin_data(PinnedDrop)]
> > +pub struct FenceCtx<F: Send + Sync, C: Send + Sync> {


BTW, if you define a FenceCtxOps trait, this should be:

pub struct FenceCtx<F: Send + Sync, C: FenceCtxOps + Send + Sync> {