Re: [PATCH v2 1/3] dma-buf: dma-fence: Add flags parameter to dma_fence_init()

From: Jonathan Cameron

Date: Wed Nov 18 2026 - 20:27:13 EST


On Wed, 18 Nov 2026 14:45:21 +0100
Philipp Stanner <phasta@xxxxxxxxxx> wrote:

> Currently, there are two init functions for dma_fence, dma_fence_init()
> and dma_fence_init64().
>
> Since more future user options for dma_fence initialization would
> require distinct init functions, too, it is better to do this in a
> unified way.
>
> Add a flags field to dma_fence_init(). Adjust all affected drivers,
> preserving the old behavior.
>
> Support the SEQNO64 flag, and add a check-function so that the user only
> sets valid bits.
>
> Signed-off-by: Philipp Stanner <phasta@xxxxxxxxxx>
> Reviewed-by: Timur Kristóf <timur.kristof@xxxxxxxxx>
> Reviewed-by: Christian König <christian.koenig@xxxxxxx>
For IIO,

Acked-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>