diff options
| author | Christian König <christian.koenig@amd.com> | 2025-10-09 17:32:33 +0300 |
|---|---|---|
| committer | Christian König <christian.koenig@amd.com> | 2026-02-23 18:14:21 +0300 |
| commit | a408c0ca0c411ca1ead995bdae3112a806c87556 (patch) | |
| tree | 301448d8d9b125ac7fe2160a8328138e34e02449 /include | |
| parent | 5943243914b9fed8e26edcb9d45421721a5e3576 (diff) | |
| download | linux-a408c0ca0c411ca1ead995bdae3112a806c87556.tar.xz | |
dma-buf: use inline lock for the dma-fence-chain
Using the inline lock is now the recommended way for dma_fence
implementations.
So use this approach for the framework's internal fences as well.
Also saves about 4 bytes for the external spinlock.
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-9-christian.koenig@amd.com
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/dma-fence-chain.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/dma-fence-chain.h b/include/linux/dma-fence-chain.h index 5cd3ba53b4a1..df3beadf1515 100644 --- a/include/linux/dma-fence-chain.h +++ b/include/linux/dma-fence-chain.h @@ -46,7 +46,6 @@ struct dma_fence_chain { */ struct irq_work work; }; - spinlock_t lock; }; |
