diff options
author | Maxime Ripard <maxime@cerno.tech> | 2021-05-25 12:10:59 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-06-16 15:24:23 +0300 |
commit | 9984d6664ce9dcbbc713962539eaf7636ea246c2 (patch) | |
tree | 46fdbfba890f9f16aa6d3f4ef56c2dad41227963 /scripts/gdb/linux/utils.py | |
parent | 411efa18e4b03840553ff58ad9b4621b82a30c04 (diff) | |
download | linux-9984d6664ce9dcbbc713962539eaf7636ea246c2.tar.xz |
drm/vc4: hdmi: Make sure the controller is powered in detect
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@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210525091059.234116-4-maxime@cerno.tech
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions