diff options
| author | Philipp Stanner <phasta@kernel.org> | 2025-12-01 11:50:05 +0100 |
|---|---|---|
| committer | Philipp Stanner <phasta@kernel.org> | 2025-12-04 15:03:39 +0100 |
| commit | e58b4dea9054c85688c8f639ebdfc8115261dae2 (patch) | |
| tree | fc8551ccf8d59f2399318c90f8c35cfe9035d859 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 2976aeb0de77da599ad37691963efbdcb07435ce (diff) | |
dma-buf/dma-fence: Add dma_fence_test_signaled_flag()
The dma_fence framework checks at many places whether the signaled flag
of a fence is already set. The code can be simplified and made more
readable by providing a helper function for that.
Add dma_fence_test_signaled_flag(), which only checks whether a fence is
signaled. Use it internally.
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patch.msgid.link/20251201105011.19386-3-phasta@kernel.org
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
