diff options
| author | 2026-08-25 10:01:22 +0200 | |
|---|---|---|
| committer | 2026-08-26 17:52:21 +0200 | |
| commit | 9108219c72b1a5909b513ef7b6f7b395663a8607 (patch) | |
| tree | ea95a6a63b6b112d7a3a4707e857391a73fa993b /scripts/Makefile.thinlto | |
| parent | Documentation/gpu: remove completed drm_simple_encoder_init() todo (diff) | |
drm/panthor: Make panthor_irq::state a non-atomic field
The only place where panthor_irq::state is accessed without
panthor_irq::mask_lock held is in the prologue of _irq_suspend(),
which is not really a fast-path. So let's simplify things by assuming
panthor_irq::state must always be accessed with the mask_lock held,
and add a scoped_guard() in _irq_suspend().
While at it, rename the lock so it's clear it doesn't just protect
access to the panthor_irq::mask or the INT_MASK register.
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: https://patch.msgid.link/20260825-panthor-signal-from-irq-v7-1-ebb5b4c891a4@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
