]> git.ipfire.org Git - thirdparty/linux.git/commit
dma-buf: detach fence ops on signal v3
authorChristian König <christian.koenig@amd.com>
Wed, 8 Oct 2025 16:12:46 +0000 (18:12 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 23 Feb 2026 15:14:02 +0000 (16:14 +0100)
commit541c8f2468b933acc5d129e84bd264923675a66e
tree4bb780fb5a94fd995c41b4dd582358bc2d7eadeb
parentf4cc3ab824d6772a48ca9d9c74ac623b3309985d
dma-buf: detach fence ops on signal v3

When neither a release nor a wait backend ops is specified it is possible
to let the dma_fence live on independently of the module who issued it.

This makes it possible to unload drivers and only wait for all their
fences to signal.

v2: fix typo in comment
v3: fix sparse rcu warnings

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Philipp Stanner <phasta@kernel.org>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/r/20260219160822.1529-3-christian.koenig@amd.com
drivers/dma-buf/dma-fence.c
include/linux/dma-fence.h