dma-buf: drop seq count based update
authorChristian König <christian.koenig@amd.com>
Mon, 4 Apr 2022 12:58:37 +0000 (14:58 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 7 Apr 2022 10:53:54 +0000 (12:53 +0200)
commit8f94eda39952a8c7323bad2bf752bdfe78101b20
tree005ae7404fd58dcb37d54359f33227a8b79941fc
parent8bb31587820a6e04cb613b49238b1800d1a97223
dma-buf: drop seq count based update

This should be possible now since we don't have the distinction
between exclusive and shared fences any more.

The only possible pitfall is that a dma_fence would be reused during the
RCU grace period, but even that could be handled with a single extra check.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220407085946.744568-15-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c
drivers/dma-buf/st-dma-resv.c
include/linux/dma-resv.h