dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Thierry Reding <treding@nvidia.com>,
	kernel@pengutronix.de, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 3/4] drm: bridge/dw-hdmi: detect initial connector state
Date: Fri, 08 Jan 2016 12:40:22 +0100	[thread overview]
Message-ID: <1452253222.3347.21.camel@pengutronix.de> (raw)
In-Reply-To: <20160108112449.GH19062@n2100.arm.linux.org.uk>

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2016-01-08 11:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08  9:02 [PATCH 1/4] drm: bridge/dw-hdmi: cache edid data Philipp Zabel
2016-01-08  9:02 ` [PATCH 2/4] drm: bridge/dw-hdmi: remove unused code Philipp Zabel
2016-01-08  9:02 ` [PATCH 3/4] drm: bridge/dw-hdmi: detect initial connector state Philipp Zabel
2016-01-08 11:24   ` Russell King - ARM Linux
2016-01-08 11:40     ` Philipp Zabel [this message]
2016-03-02 16:35   ` Thierry Reding
2016-01-08  9:02 ` [PATCH 4/4] drm: bridge/dw-hdmi: use rx sense for plug detection if hpd is unreliable Philipp Zabel
2016-01-08 11:34   ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452253222.3347.21.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kernel@pengutronix.de \
    --cc=linux@arm.linux.org.uk \
    --cc=treding@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox