public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Melchior FRANZ <melchior.franz@gmail.com>, linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	dri-devel@lists.freedesktop.org,
	Keith Packard <keithp@keithp.com>
Subject: Re: [2.6.39 regression] i915/kms: garbled screen because of 49183b281  (was: Re: Linux 2.6.39-rc7)
Date: Thu, 12 May 2011 22:41:52 +0100	[thread overview]
Message-ID: <72a37e$j47ear@orsmga002.jf.intel.com> (raw)
In-Reply-To: <201105121849.09225@rk-nord.at>

On Thu, 12 May 2011 18:49:08 +0200, Melchior FRANZ <melchior.franz@gmail.com> wrote:
> * Linus Torvalds -- Tuesday 10 May 2011:
> > But please do test, just to make sure that 39-final is good.
> 
> > Chris Wilson (4):
> >       drm/i915: Only enable the plane after setting the fb base (pre-ILK)
> 
> This patch introduces a bug on my infamous "Acer Travelmate
> 5735Z-452G32Mnss": when KMS takes over, the frame buffer contents
> get completely garbled up on screen, with colored stripes and
> unreadable text (photo on request). Only when X11 is started, the
> screen gets restored again. Closing and re-opening the lid partly
> cures the mess, too: it makes the font readable, though horizontally
> stretched.

So we think that enabling the plane at this point is masking a bug in our
modeset, or that some side-effect of writing those registers or waiting
for that vblank has a vital latching or delay that we have not accounted
for.

Can you please grab intel_reg_dumper from 

  http://cgit.freedesktop.org/xorg/app/intel-gpu-tools

and attach its output after passing nomodeset on your kernel boot
parameters (without starting X). That should capture the registers as they
were left by the BIOS. Alternatively, if you load i915.ko as a module, you
can run intel_reg_dumper before loading the module. Then can you attach
the output from intel_reg_dumper from the VT before starting X (whilst the
display is skewiff) and then after (when the display has recovered). That
may help, unless we are right in that it is in the timing of the register
writes.

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  parent reply	other threads:[~2011-05-12 21:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10  2:49 Linux 2.6.39-rc7 Linus Torvalds
2011-05-10  3:53 ` Konrad Rzeszutek Wilk
2011-05-10 23:36   ` Konrad Rzeszutek Wilk
2011-05-10 23:42     ` H. Peter Anvin
2011-05-12 16:49 ` [2.6.39 regression] i915/kms: garbled screen because of 49183b281 (was: Re: Linux 2.6.39-rc7) Melchior FRANZ
2011-05-12 18:52   ` [PATCH] Revert "drm/i915: Only enable the plane after setting the fb base (pre-ILK)" Keith Packard
2011-05-12 21:41   ` Chris Wilson [this message]
2011-05-13 11:59     ` [2.6.39 regression] i915/kms: garbled screen because of 49183b281 (was: Re: Linux 2.6.39-rc7) Melchior FRANZ
2011-05-30 12:10   ` [3.0-rc1 regression] (was: Re: [2.6.39 regression] i915/kms: garbled screen because of 49183b281) Melchior FRANZ
2011-05-15 13:50 ` Linux 2.6.39-rc7 Borislav Petkov
2011-05-15 13:53   ` Tejun Heo

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='72a37e$j47ear@orsmga002.jf.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=keithp@keithp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=melchior.franz@gmail.com \
    --cc=torvalds@linux-foundation.org \
    /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