linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/vc4: Fix for the HDMI detect power state
@ 2021-05-25  9:10 Maxime Ripard
  2021-05-25  9:10 ` [PATCH 1/3] drm: Mention the power state requirement on side-channel operations Maxime Ripard
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Maxime Ripard @ 2021-05-25  9:10 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter, David Airlie, Maarten Lankhorst,
	Thomas Zimmermann, Maxime Ripard
  Cc: Daniel Vetter, Boris Brezillon, linux-kernel, Eric Anholt,
	Emma Anholt, Dave Stevenson, Phil Elwell, Tim Gover, Dom Cobley,
	Maxime Ripard

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-16 12:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25  9:10 [PATCH 0/3] drm/vc4: Fix for the HDMI detect power state Maxime Ripard
2021-05-25  9:10 ` [PATCH 1/3] drm: Mention the power state requirement on side-channel operations Maxime Ripard
2021-05-25  9:10 ` [PATCH 2/3] drm/vc4: hdmi: Move the HSM clock enable to runtime_pm Maxime Ripard
2021-06-16 10:49   ` Dave Stevenson
2021-05-25  9:10 ` [PATCH 3/3] drm/vc4: hdmi: Make sure the controller is powered in detect Maxime Ripard
2021-06-16 10:51   ` Dave Stevenson
2021-06-16 12:35     ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).