]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: add dma_resv_for_each_fence v3
authorChristian König <christian.koenig@amd.com>
Tue, 15 Jun 2021 13:10:03 +0000 (15:10 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 7 Oct 2021 12:49:11 +0000 (14:49 +0200)
commitbca85629c4ee25baddd7f20d80ebfded02da49c5
tree237b794f7a37d8a4abcfba5e3cc4962bf5fae5e5
parent4fff55b71eb7e0fa9fb823cefb2922838fd3b89b
dma-buf: add dma_resv_for_each_fence v3

A simpler version of the iterator to be used when the dma_resv object is
locked.

v2: fix index check here as well
v3: minor coding improvement, some documentation cleanup

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211006123609.2026-1-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c
include/linux/dma-resv.h