diff options
author | Ville Syrjälä <[email protected]> | 2024-04-04 23:33:25 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2024-04-08 18:01:17 +0300 |
commit | 3eadd887dbac1df8f25f701e5d404d1b90fd0fea (patch) | |
tree | a7bb4683acb225316a2a6639167869b511f3ad74 /scripts | |
parent | 8ab58f6841b19423231c5db3378691ec80c778f8 (diff) |
drm/client: Fully protect modes[] with dev->mode_config.mutex
The modes[] array contains pointers to modes on the connectors'
mode lists, which are protected by dev->mode_config.mutex.
Thus we need to extend modes[] the same protection or by the
time we use it the elements may already be pointing to
freed/reused memory.
Cc: [email protected]
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/10583
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions