diff options
| author | 2026-05-31 09:49:59 -0300 | |
|---|---|---|
| committer | 2026-06-01 10:27:22 +0200 | |
| commit | e84b07e0a30b371117f9a1120a4645c213f39cd9 (patch) | |
| tree | 0d98abda97207c862581ed2fb44d1fb8c11bdeb1 /scripts/Makefile.thinlto | |
| parent | drm: Remove DRIVER_GEM_GPUVA feature flag (diff) | |
dma-fence: Clarify external lock use case in dma_fence_init() docs
The kerneldoc comment on dma_fence_init() and dma_fence_init64() describe
the legacy reason to pass an external lock as a need to prevent multiple
fences "from signaling out of order". However, this wording is a bit
misleading: a shared spinlock does not (and cannot) prevent the signaler
from signaling out of order. Signaling order is the driver's responsibility
regardless of whether the lock is shared or per-fence.
Reword both comments to better describe the legacy use cases where a
shared lock was needed.
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/20260531125115.1136036-1-mcanal@igalia.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
