From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Theodore Tso <tytso@mit.edu>
Cc: "Carlos R. Mafra" <crmafra2@gmail.com>,
Eric Anholt <eric@anholt.net>,
linux-kernel@vger.kernel.org, Keith Packard <keithp@keithp.com>,
Chris Wilson <chris@chris-wilson.co.uk>
Subject: Re: 2.6.32 regression (bisected): Video tearing/glitching with T400 laptops
Date: Thu, 15 Oct 2009 08:30:23 -0700 [thread overview]
Message-ID: <20091015083023.2f389296@jbarnes-g45> (raw)
In-Reply-To: <20091015022645.GA8286@mit.edu>
On Wed, 14 Oct 2009 22:26:45 -0400
Theodore Tso <tytso@mit.edu> wrote:
> On Wed, Oct 14, 2009 at 02:22:52PM -0700, Jesse Barnes wrote:
> > On Tue, 13 Oct 2009 12:14:26 -0700
> > Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> > > According to the chipset team that form of display corruption is
> > > likely related to RAM self-refresh... Sounds like the display
> > > plane isn't getting its memory requests serviced fast enough when
> > > in self-refresh mode, which might mean we have to program the
> > > self-refresh watermarks more aggressively on GM45.
> >
> > Ok, like any good bug there was more than one thing wrong:
> > - we weren't setting up a fence for the object before enabling
> > FBC. Chris caught this and posted a patch to
> > intel-gfx@lists.freedesktop.org titled "drm/i915: Install a
> > fence register for fbc on g4x" (attached for convenience)
> > - turns out we *do* need to set watermarks on G4x, despite some hw
> > documentation indicating otherwise, patch for that attached
> >
> > Hopefully with these two you'll have a solid display and some power
> > saving!
>
> With these two patches (and none of your prior ones) applied to
> 2.6.32-rc3, things are definitely better. I'm still seeing a few
> glitches (one as mutt was loading my Maildir inbox) and one as I was
> typing this message in emacs, but it's at best one minor every 5-10
> minutes. It's rare enough to be at most a wee bit distracting (*lots*
> better than before), and I can see the power savings.
>
> If I need to live with a display glitch every 5-10 minutes or so to
> get better power savings, I'll take it....
Oh I think we can do better than that. The hardcoded values I put in
for the watermarks are almost certainly wrong. I should be able to
reproduce what you're seeing (anything that takes a lot of memory
bandwidth will probably cause flicker) and adjust the watermarks to the
correct values to avoid that. I'll try to find time in Japan to do
that...
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2009-10-15 15:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-02 22:40 Theodore Ts'o
2009-10-02 22:44 ` Jesse Barnes
2009-10-04 13:43 ` Arkadiusz Miskiewicz
2009-10-05 20:47 ` Jesse Barnes
2009-10-08 17:36 ` Jesse Barnes
2009-10-10 20:41 ` Theodore Tso
2009-10-12 16:54 ` Jesse Barnes
2009-10-12 18:46 ` Carlos R. Mafra
2009-10-12 19:05 ` Jesse Barnes
2009-10-13 2:31 ` Theodore Tso
2009-10-13 17:01 ` Jesse Barnes
2009-10-13 19:00 ` Theodore Tso
2009-10-13 19:14 ` Jesse Barnes
2009-10-14 21:22 ` Jesse Barnes
2009-10-15 2:26 ` Theodore Tso
2009-10-15 4:02 ` Theodore Tso
2009-10-19 1:04 ` Jesse Barnes
2009-10-19 1:15 ` Jesse Barnes
2009-10-21 4:48 ` Theodore Tso
2009-10-26 7:25 ` Paul Rolland
2009-10-27 16:37 ` Johan Hovold
2009-10-15 15:30 ` Jesse Barnes [this message]
2009-10-15 1:23 ` Theodore Tso
2009-10-13 19:19 ` Fabio Comolli
2009-10-13 19:25 ` Jesse Barnes
2009-10-13 20:03 ` Fabio Comolli
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=20091015083023.2f389296@jbarnes-g45 \
--to=jbarnes@virtuousgeek.org \
--cc=chris@chris-wilson.co.uk \
--cc=crmafra2@gmail.com \
--cc=eric@anholt.net \
--cc=keithp@keithp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/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
Powered by JetHome