All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>, dri-devel@lists.freedesktop.org
Subject: Re: i915: GPU hung (F14, Intel Core i5-670)
Date: Wed, 30 May 2012 08:11:47 +0100	[thread overview]
Message-ID: <1338361935_351157@CP5-2952> (raw)
In-Reply-To: <CA+55aFywy1aVxYsqEA8hDpJoe97ZN=QZR3owEiEovrmSxBfvkw@mail.gmail.com>

On Tue, 29 May 2012 19:41:37 -0700, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Mon, May 28, 2012 at 12:06 AM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> >
> > No, the i915_error_state had everything I needed to see. It is the old
> > ddx bug that was hardcoding a maximum relocation address that never
> > corresponded with an actual hw limit. As soon we try to use memory above
> > that value, the GPU decides not to listen to us any more.
> >
> > Fixed in xf86-video-intel 2.14.901
> 
> I really don't think that's the case.
> 
> I have run the F14 X server for a *long* time without these issues on
> this machine, and today I now got a second GPU hang with the current
> git tree. I was in the middle of just writing an email in chrome,
> nothing fancy going on at all.
> 
> So please please *please* take a second look. Because I think it's
> triggered by the i915 changes, or you undid a workaround that used to
> work fine.

>From the error-state:

0x0314e050:      0x61010006: STATE_BASE_ADDRESS
0x0314e054:      0x00000001:    general state base address 0x00000000
0x0314e058:      0x00000001:    surface state base address 0x00000000
0x0314e05c:      0x00000001:    indirect state base address 0x00000000
0x0314e060:      0x00000001:    instruction state base address 0x00000000
0x0314e064:      0x10000001:    general state upper bound 0x10000000
0x0314e068:      0x10000001:    indirect state upper bound 0x10000000
0x0314e06c:      0x10000001:    instruction state upper bound 0x10000000

And if we look at some of the other auxiliary instructions buffers sent
along with the batch:

  0314e000    16384 0048 0000 000ab700 dirty purgeable render uncached
...
  11e30000     4096 0011 0000 000ab700 purgeable render uncached
  11e2b000     4096 0011 0000 000ab700 purgeable render uncached
  10e43000     4096 0011 0000 000ab700 render uncached
  10e44000     4096 0011 0000 000ab700 purgeable render uncached

0x10 being the instruction domain for a total of about 20 instruction
buffers referenced from that batch above the upper bound (and in
particular appears to have been the first batch to use addresses above
256M).

This batch fits the modus operandi of the bug that was fixed in
2.14.901, it would seem sensible to address the known issue first.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2012-05-30  7:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-28  1:26 i915: GPU hung (F14, Intel Core i5-670) Linus Torvalds
2012-05-28  7:06 ` Chris Wilson
2012-05-29 14:45   ` Adam Jackson
2012-05-30  2:41   ` Linus Torvalds
2012-05-30  7:11     ` Chris Wilson [this message]
2012-05-30  7:25     ` Chris Wilson
2012-05-30 16:22       ` Linus Torvalds
2012-05-30  7:42     ` Daniel Vetter
2012-05-30 16:21       ` Linus Torvalds

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=1338361935_351157@CP5-2952 \
    --to=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.