Skip to content

drm/vc4: Fix for the HDMI detect power state

Maxime Ripard dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: Mention the power state requirement on side-channel operationsinclude/drm/drm_connector.h include/drm/drm_dp_helper.h include/drm/drm_mipi_dsi.h+14 -00 replies
2/3drm/vc4: hdmi: Move the HSM clock enable to runtime_pmdrivers/gpu/drm/vc4/vc4_hdmi.c+31 -101 reply
3/3drm/vc4: hdmi: Make sure the controller is powered in detectdrivers/gpu/drm/vc4/vc4_hdmi.c+4 -02 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDave Stevenson
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.31.1