summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPhilipp Stanner <phasta@kernel.org>2025-12-01 11:50:06 +0100
committerPhilipp Stanner <phasta@kernel.org>2025-12-04 15:03:40 +0100
commitc891b99d25ddbb6b8167f9bdb904d4abc5a53b6b (patch)
tree560d440940aab82ecae526d501febdedf3f1c133 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parente58b4dea9054c85688c8f639ebdfc8115261dae2 (diff)
dma-buf/dma-fence: Add dma_fence_check_and_signal()
The overwhelming majority of users of dma_fence signaling functions don't care about whether the fence had already been signaled by someone else. Therefore, the return code shall be removed from those functions. For the few users who rely on the check, a new, specialized function shall be provided. Add dma_fence_check_and_signal(), which signals a fence if it had not yet been signaled, and informs the user about that. Add a counter part, dma_fence_check_and_signal_locked(), which doesn't take the spinlock. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Philipp Stanner <phasta@kernel.org> Link: https://patch.msgid.link/20251201105011.19386-4-phasta@kernel.org
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions