diff options
| author | 2026-08-13 11:45:40 +0200 | |
|---|---|---|
| committer | 2026-08-18 15:47:03 +0200 | |
| commit | 0e118b936dc5904cf0d9859882a40c96057b083d (patch) | |
| tree | ced5ce2c012d7dc6dc20cb42e22670bbf4507fec /scripts/Makefile.thinlto | |
| parent | drm/bridge: chipone-icn6211: use devm_mipi_dsi_attach (diff) | |
drm/sched: Lock drm_sched_entity_is_idle()
drm_sched_entity_is_idle() contains a badly documented memory barrier
and an invalid lockless access to entity->stopped. Moreover, it also
accesses entity->list which is at all other places protected by
entity->lock.
This function is in no way performance critical, so it is safer, more
readable and more maintainable to take the spinlock.
Add locking to drm_sched_entity_is_idle().
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patch.msgid.link/20260813094539.2407911-2-phasta@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
