]> Gentwo Git Trees - linux/.git/commit
dma-buf: rework stub fence initialisation v2
authorChristian König <christian.koenig@amd.com>
Wed, 8 Oct 2025 13:39:26 +0000 (15:39 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 5 Nov 2025 13:38:55 +0000 (14:38 +0100)
commitad531f3d8b37521248508d5084b0ba480a27ef6d
tree430f9f972a8a4472888741816b764f39f046ed68
parent6126a7f27f002408803f3fc50ff610699e57601d
dma-buf: rework stub fence initialisation v2

Instead of doing this on the first call of the function just initialize
the stub fence during kernel load.

This has the clear advantage of lower overhead and also doesn't rely on
the ops to not be NULL any more.

v2: use correct signal function

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Link: https://lore.kernel.org/r/20251031134442.113648-3-christian.koenig@amd.com
drivers/dma-buf/dma-fence.c