[PATCH 0/3] drm/vc4: Fix for the HDMI detect power state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux