OSDN Git Service

drm/vc4: hdmi: Make sure the controller is powered up during bind
authorMaxime Ripard <maxime@cerno.tech>
Thu, 19 Aug 2021 13:59:27 +0000 (15:59 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 13:33:40 +0000 (15:33 +0200)
commit9c6e4f6ed1d61d5f46946e5c151ceb279eedadb1
treea46dff89af10b3fdd1408ae58be78756fa3deac0
parent0f5251339eda7f7eb7bd4467607ae1d01b24e129
drm/vc4: hdmi: Make sure the controller is powered up during bind

In the bind hook, we actually need the device to have the HSM clock
running during the final part of the display initialisation where we
reset the controller and initialise the CEC component.

Failing to do so will result in a complete, silent, hang of the CPU.

Fixes: 411efa18e4b0 ("drm/vc4: hdmi: Move the HSM clock enable to runtime_pm")
Link: https://patchwork.freedesktop.org/patch/msgid/20210819135931.895976-3-maxime@cerno.tech
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c