Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Dave Airlie <airlied@gmail.com>
Cc: mmarek@suse.cz, intel-gfx@lists.freedesktop.org
Subject: Re: Valid DP connection without EDID?
Date: Mon, 17 Sep 2012 10:28:57 +0200	[thread overview]
Message-ID: <s5ha9wpyrw6.wl%tiwai@suse.de> (raw)
In-Reply-To: <CAPM=9ty3b5sRFtXxoqjHatDZ8qLxbXMk+rU94LWb_wtpgrqWAw@mail.gmail.com>

At Mon, 17 Sep 2012 18:21:47 +1000,
Dave Airlie wrote:
> 
> On Mon, Sep 17, 2012 at 6:16 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > Hi Adam,
> >
> > At Fri, 14 Sep 2012 11:25:03 -0400,
> > Adam Jackson wrote:
> >>
> >> On 9/14/12 10:19 AM, Takashi Iwai wrote:
> >> > Hi,
> >> >
> >> > we've got a machine showing a ghost DP2 output on a docking station.
> >> > The docking station has only one DP port and it's connected to DP1.
> >> > As a result, we get an DP2 active output containing the bogus VESA
> >> > standard modes 1024x768, 800x600, 640x480 although it's not connected
> >> > at all.
> >> >
> >> > Looking a bit deeply on it, it seems that the connector gives actually
> >> > the valid DPCD.  So intel_dp_detect() returns
> >> > connector_status_connected.  But since there is no real connection,
> >> > EDID isn't obtained.  Thus of course no valid modes set.
> >>
> >> Can you be more specific here?  What DPCD does it return?
> >
> > It shows "DPCD: 110a820100030181"
> 
> I don't see how it can be a floating port if something is answering
> DPCD, or how it could be a hardware problem. Like it doesn't seem
> likely they terminated the port with a special DP chip.

The problem is that you have no DP output there in reality.  So, when
you plug the docking station, GNOME sets up the screen with a bogus DP
output, either in an extended mode with a non-existing screen or a
clone mode with a wrong low resolution.

> Though you'd have to decode the DPCD to see what it is.

Hmm, but isn't it the check of EDID existence enough?
Checking DPCD bits might work, but I have no exact spec of DPCD, so no
idea whether the above is really wrong or not.


thanks,

Takashi

  reply	other threads:[~2012-09-17  8:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14 14:19 Valid DP connection without EDID? Takashi Iwai
2012-09-14 15:25 ` Adam Jackson
2012-09-17  8:16   ` Takashi Iwai
2012-09-17  8:21     ` Dave Airlie
2012-09-17  8:28       ` Takashi Iwai [this message]
2012-09-17  9:11         ` Dave Airlie
2012-09-17  9:32           ` Takashi Iwai
2012-09-17 16:24             ` Adam Jackson
2012-09-18 11:01               ` Takashi Iwai
2012-09-18 14:04                 ` Adam Jackson
2012-09-18 14:32                   ` Takashi Iwai
2012-09-18 14:48                     ` Adam Jackson
2012-09-18 15:11                       ` Takashi Iwai

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=s5ha9wpyrw6.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=airlied@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mmarek@suse.cz \
    /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