[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210525091059.234116-1-maxime@cerno.tech>
Date: Tue, 25 May 2021 11:10:56 +0200
From: Maxime Ripard <maxime@...no.tech>
To: dri-devel@...ts.freedesktop.org,
Daniel Vetter <daniel.vetter@...el.com>,
David Airlie <airlied@...ux.ie>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Thomas Zimmermann <tzimmermann@...e.de>,
Maxime Ripard <maxime@...no.tech>
Cc: Daniel Vetter <daniel@...ll.ch>,
Boris Brezillon <bbrezillon@...nel.org>,
linux-kernel@...r.kernel.org, Eric Anholt <eric@...olt.net>,
Emma Anholt <emma@...olt.net>,
Dave Stevenson <dave.stevenson@...pberrypi.com>,
Phil Elwell <phil@...pberrypi.com>,
Tim Gover <tim.gover@...pberrypi.com>,
Dom Cobley <dom@...pberrypi.com>,
Maxime Ripard <mripard@...nel.org>
Subject: [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(-)
--
2.31.1
Powered by blists - more mailing lists