diff options
| author | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-03-24 09:58:08 +0100 |
|---|---|---|
| committer | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-04-16 09:08:42 +0200 |
| commit | 01b92f0d18214660d9978f0c4dd9507ee8d27d06 (patch) | |
| tree | 863a072a492f391ddba8e70f3372155a27e82c01 /include/linux/timerqueue.h | |
| parent | 8065890f5cda3f8a503f3b9d326aab0e9cca39e7 (diff) | |
drm/encoder: add mutex to protect the bridge chain
The per-encoder bridge chain is currently assumed to be static once it is
fully initialized. Work is in progress to add hot-pluggable bridges,
breaking that assumption.
With bridge removal, the encoder chain can change without notice, removing
tail bridges. This can be problematic while iterating over the chain.
Add a mutex to be taken whenever looping or changing the encoder chain.
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Link: https://patch.msgid.link/20260324-drm-bridge-alloc-encoder-chain-mutex-v5-1-8bf786c5c7e6@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
