linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/vc4: hdmi: Fix CEC access while disabled
@ 2021-06-29 12:57 Maxime Ripard
  2021-06-29 12:57 ` [PATCH 1/4] drm/vc4: hdmi: Mark the device as active if running Maxime Ripard
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Maxime Ripard @ 2021-06-29 12:57 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter, David Airlie, Maarten Lankhorst,
	Thomas Zimmermann, Maxime Ripard
  Cc: linux-kernel, bcm-kernel-feedback-list, Boris Brezillon,
	Emma Anholt, Maxime Ripard, Dave Stevenson, Hans Verkuil,
	Nicolas Saenz Julienne, Phil Elwell, Tim Gover, Dom Cobley,
	linux-rpi-kernel

Hi,

This series aims at fixing a complete and silent hang when one tries to use CEC
while the display output is off.

This can be tested with:

echo off > /sys/class/drm/card0-HDMI-A-1/status
cec-ctl --tuner -p 1.0.0.0
cec-compliance

This series addresses it by making sure the HDMI controller is powered up as
soon as the CEC device is opened by the userspace.

Let me know what you think,
Maxime

Maxime Ripard (4):
  drm/vc4: hdmi: Mark the device as active if running
  drm/vc4: hdmi: Put the device on error in pre_crtc_configure
  drm/vc4: hdmi: Split the CEC disable / enable functions in two
  drm/vc4: hdmi: Make sure the device is powered with CEC

 drivers/gpu/drm/vc4/vc4_hdmi.c | 85 ++++++++++++++++++++++------------
 1 file changed, 55 insertions(+), 30 deletions(-)

-- 
2.31.1


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29 12:57 [PATCH 0/4] drm/vc4: hdmi: Fix CEC access while disabled Maxime Ripard
2021-06-29 12:57 ` [PATCH 1/4] drm/vc4: hdmi: Mark the device as active if running Maxime Ripard
2021-06-29 12:57 ` [PATCH 2/4] drm/vc4: hdmi: Put the device on error in pre_crtc_configure Maxime Ripard
2021-06-29 12:57 ` [PATCH 3/4] drm/vc4: hdmi: Split the CEC disable / enable functions in two Maxime Ripard
2021-06-29 12:57 ` [PATCH 4/4] drm/vc4: hdmi: Make sure the device is powered with CEC 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).