dma-fence: Add helpers for accessing driver and timeline name
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Thu, 15 May 2025 09:49:58 +0000 (10:49 +0100)
committerTvrtko Ursulin <tursulin@ursulin.net>
Tue, 3 Jun 2025 16:38:22 +0000 (17:38 +0100)
commitecec875a6c3379017af57e3c7ba51de0501fe750
tree331255fc0e48c373c2270e06fd99d8466556a152
parentbf33a0003d9e3b0546f2d7e91bebfd67af59f275
dma-fence: Add helpers for accessing driver and timeline name

Add some helpers in order to enable preventing dma-fence users accessing
the implementation details directly and make the implementation itself use
them.

This will also enable later adding some asserts to a consolidated
location.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20250515095004.28318-4-tvrtko.ursulin@igalia.com
drivers/dma-buf/dma-fence.c
include/linux/dma-fence.h
include/trace/events/dma_fence.h