[PATCH 3/4] drm: bridge/dw-hdmi: detect initial connector state

Philipp Zabel p.zabel at pengutronix.de
Fri Jan 8 03:40:22 PST 2016


Am Freitag, den 08.01.2016, 11:24 +0000 schrieb Russell King - ARM
Linux:
> On Fri, Jan 08, 2016 at 10:02:06AM +0100, Philipp Zabel wrote:
> > Allow userspace to read the initial connector state via sysfs without
> > having to issue a detect manually. There is no reason to keep the state
> > unknown during initialization.
> 
> Can you describe how it can be unknown?  I've always seen the state to be
> correctly initialised on iMX6 irrespective of whether a sink is connected
> or not.  However, I always have the FB helper and FB console enabled.

I have FB helper and console disabled. Since the kernel doesn't set a
mode automatically, in this case the modes are never requested, and
detect is not called by anyone.

Until userspace issues the detect, either via the DRM API or by writing
"detect" into /sys/class/drm/card0-HDMI-A-1/status, this sysfs file
reads "unknown".

regards
Philipp



More information about the dri-devel mailing list