]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0986e40be879c17f0ca8d23809a0e0247898fb3
treea46dff89af10b3fdd1408ae58be78756fa3deac0
parentf9b32490aa077ac0d0b79aa89de55c7449455d0f
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: 7460d0fdf66b ("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