diff options
| author | 2022-10-24 11:36:33 +0200 | |
|---|---|---|
| committer | 2022-11-03 09:26:41 +0100 | |
| commit | 682f99b8ae886c22ba9f16df454aecc8c6d803ba (patch) | |
| tree | 786cfa9a415e6e9792240b4719a5c85e9583b629 /tools/testing/ktest/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid (diff) | |
| download | linux-dev-682f99b8ae886c22ba9f16df454aecc8c6d803ba.tar.xz linux-dev-682f99b8ae886c22ba9f16df454aecc8c6d803ba.zip | |
drm/vc4: hdmi: Take our lock to reset the link
We access some fields protected by our internal mutex in
vc4_hdmi_reset_link() (saved_adjusted_mode, output_bpc, output_format)
and are calling functions that need to have that lock taken
(vc4_hdmi_supports_scrambling()).
However, the current code doesn't lock that mutex. Let's make sure it
does.
Fixes: 6bed2ea3cb38 ("drm/vc4: hdmi: Reset link on hotplug")
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20221024093634.118190-1-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'tools/testing/ktest/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
