diff options
| author | Maxime Ripard <maxime@cerno.tech> | 2021-09-22 14:54:19 +0200 |
|---|---|---|
| committer | Maxime Ripard <maxime@cerno.tech> | 2021-10-25 15:33:40 +0200 |
| commit | 0f5251339eda7f7eb7bd4467607ae1d01b24e129 (patch) | |
| tree | 83014473dc215e3b81c95073ea47e89786ea64a0 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | drm/vc4: hdmi: Move the HSM clock enable to runtime_pm (diff) | |
| download | linux-0f5251339eda7f7eb7bd4467607ae1d01b24e129.tar.gz linux-0f5251339eda7f7eb7bd4467607ae1d01b24e129.zip | |
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>
Reviewed-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Tested-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
Tested-by: Michael Stapelberg <michael@stapelberg.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210922125419.4125779-6-maxime@cerno.tech
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
