[PATCH 1/2] drm/vc4: hdmi: Take our lock to reset the link

Maxime Ripard maxime at cerno.tech
Fri Oct 28 11:12:47 UTC 2022


On Mon, 24 Oct 2022 11:36:33 +0200, maxime at cerno.tech wrote:
> 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.
> 
> [...]

Applied to drm/drm-misc (drm-misc-fixes).

Thanks!
Maxime


More information about the dri-devel mailing list