Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Michal Srb <msrb@suse.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: Issue after drm/i915: prefer wide & slow to fast & narrow in DP configs.
Date: Wed, 20 Mar 2013 08:28:02 -0700	[thread overview]
Message-ID: <20130320082802.120500ef@jbarnes-desktop> (raw)
In-Reply-To: <1792597.HQauA4NgeB@dhcp79>

On Wed, 20 Mar 2013 14:45:52 +0100
Michal Srb <msrb@suse.com> wrote:

> Hi,
> 
> I am debugging an issue with IBM POS machine (4852-570, Truman), with 
> 8086:0102 Intel Sandybridge graphic card and internal monitor connected over 
> display port.
> 
> The issue is that sporadically, after mode change, the monitor remains blank.
> There is no difference in drm.debug=0xe level log or content of <debugfs>/dri 
> between the state when monitor displays image and the state when it remains 
> blank.
> 
> (The monitor supports only 1024x768, so every mode change is into this 
> resolution. It happens when the intel driver switches resolution during boot, 
> when X starts, X ends, modetest starts or modetest ends.)
> 
> I've bisected the cause to this commit:
> 
>   commit 2514bc510d0c3aadcc5204056bb440fa36845147
>   Author: Jesse Barnes <jbarnes@virtuousgeek.org>
>   Date:   Thu Jun 21 15:13:50 2012 -0700
> 
>       drm/i915: prefer wide & slow to fast & narrow in DP configs
>     
>       High frequency link configurations have the potential to cause trouble
>       with long and/or cheap cables, so prefer slow and wide configurations
>       instead.  This patch has the potential to cause trouble for eDP
>       configurations that lie about available lanes, so if we run into that we
>       can make it conditional on eDP.
> 
> 
> The machine reports to have 2 lanes available and that seems to be correct.
> One lane was used before the commit and the screen used to show picture after 
> every mode change:
> 
>   [drm:intel_dp_mode_fixup], DP ink computation with max lane count 2 max bw 
> 0a pixel clock 65000KHz
>   [drm:intel_dp_mode_fixup], DP link bw 0a lane count 1 clock 270000 bpp 24
>   [drm:intel_dp_mode_fixup], DP link bw required 156000 available 216000
> 
> Two lanes are used after the commit and the screen occasionally remains blank 
> after mode change:
> 
>   [drm:intel_dp_mode_fixup], DP link computation with max lane count 2 max bw 
> 0a pixel clock 65000KHz
>   [drm:intel_dp_mode_fixup], DP link bw 06 lane count 2 clock 162000 bpp 24
>   [drm:intel_dp_mode_fixup], DP link bw required 156000 available 259200
> 
> 
> Could you advise me where to look further? Could this be a hardware bug? 
> Reverting the commit works as a workaround, but doesn't look like correct way 
> to fix this...

There's nothing else in the log about aux failures?  Just that the
training apparently succeeded but you ended up with a blank screen?

-- 
Jesse Barnes, Intel Open Source Technology Center

      reply	other threads:[~2013-03-20 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 13:45 Issue after drm/i915: prefer wide & slow to fast & narrow in DP configs Michal Srb
2013-03-20 15:28 ` Jesse Barnes [this message]

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=20130320082802.120500ef@jbarnes-desktop \
    --to=jbarnes@virtuousgeek.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=msrb@suse.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