[PATCH 0/3] drm/vc4: Fix for the HDMI detect power state
From: Maxime Ripard
Date: Tue May 25 2021 - 05:11:09 EST
Hi,
This fixes an issue found during a rework on the RPi3 where we would
end up with the detect callback of the HDMI connector called while the
device would be disabled.
This unfortunately results in a complete CPU hang on the RaspberryPi.
The documentation doesn't really provide any expectation on the power
state for various operations that could be performed while the device is
off, so the first patch makes that clear. The next two patches make sure
the device is sufficiently powered for detect to run without any issue.
Let me know what you think,
Maxime
Maxime Ripard (3):
drm: Mention the power state requirement on side-channel operations
drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
drm/vc4: hdmi: Make sure the controller is powered in detect
drivers/gpu/drm/vc4/vc4_hdmi.c | 45 ++++++++++++++++++++++++++--------
include/drm/drm_connector.h | 5 ++++
include/drm/drm_dp_helper.h | 4 +++
include/drm/drm_mipi_dsi.h | 5 ++++
4 files changed, 49 insertions(+), 10 deletions(-)
--
2.31.1