[PATCH 5/5] drm/vc4: hdmi: Make sure the controller is powered in detect

nicolas saenz julienne nsaenz at kernel.org
Thu Sep 30 08:55:29 PDT 2021


On Wed, 2021-09-22 at 14:54 +0200, Maxime Ripard wrote:
> If the HPD GPIO is not available and drm_probe_ddc fails, we end up
> reading the HDMI_HOTPLUG register, but the controller might be powered
> off resulting in a CPU hang. Make sure we have the power domain and the
> HSM clock powered during the detect cycle to prevent the hang from
> happening.
> 
> Fixes: 4f6e3d66ac52 ("drm/vc4: Add runtime PM support to the HDMI encoder driver")
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
> Reviewed-by: Dave Stevenson <dave.stevenson at raspberrypi.com>
> ---

Reviewed-by: Nicolas Saenz Julienne <nsaenz at kernel.org>
Tested-by: Nicolas Saenz Julienne <nsaenz at kernel.org>

Regards,
Nicolas




More information about the linux-arm-kernel mailing list