[PATCH v2 1/4] dma-fence: add dma_fence_match_context helper

Gustavo Padovan gustavo at padovan.org
Fri Mar 17 17:58:56 UTC 2017


Hi Philipp,

2017-03-17 Philipp Zabel <p.zabel at pengutronix.de>:

> Add a helper to check if all fences in a fence array are from a given
> context. For convenience, the function can also handle being given a
> non-array fence.
> 
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> ---
>  drivers/dma-buf/dma-fence-array.c | 26 ++++++++++++++++++++++++++
>  include/linux/dma-fence-array.h   |  2 ++
>  2 files changed, 28 insertions(+)

Looks good to me.

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.com>

Gustavo


More information about the etnaviv mailing list