lkml.org 
[lkml]   [2021]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] drm/vc4: hdmi: Fix CEC access while disabled
Date
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


\
 
 \ /
  Last update: 2021-06-29 14:57    [W:0.041 / U:5.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site