Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Bryan Freed <bfreed@chromium.org>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: xrandr crashes X with a "GPU hung" in the i915 driver
Date: Fri, 05 Nov 2010 19:01:50 +0000	[thread overview]
Message-ID: <5b55a1$ij1vd3@fmsmga002.fm.intel.com> (raw)
In-Reply-To: <AANLkTineMDF-K458G8jccJx_p61GN7iXAa+4X0qYUyP1@mail.gmail.com>

On Fri, 5 Nov 2010 11:51:36 -0700, Bryan Freed <bfreed@chromium.org> wrote:
> Ah.  I see 9f54107f866a25cf670f81f7c52b8c108728c6a5 in git://
> anongit.freedesktop.org/xorg/driver/xf86-video-intel, but that change looks
> i830-specific.  We are running i915.
> 
> My i915_error_state looks like this in a few test runs this morning:
> 
> localhost ~ # cd /sys/kernel/debug/dri/0/
> localhost 0 # cat i915_error_state
> Time: 1288979468 s 955942 us
> EIR: 0x00000000
>   PGTBL_ER: 0x00000000
>   INSTPM: 0x00000000
>   IPEIR: 0x00000000
>   IPEHR: 0x01800002
>   INSTDONE: 0x7dffffc1
>   ACTHD: 0x07357014

That's an old kernel, not a lot of information in the i915_error_state.
0x01800002 is MI_WAIT_FOR_EVENT. The issue is that we are doing a
mode switch whilst there is a pending WAIT, so by the time the GPU
executes the wait the pipe is disabled and the GPU hangs. I just this
morning committed a patch to -intel that might help here.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

      reply	other threads:[~2010-11-05 19:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-05  0:12 xrandr crashes X with a "GPU hung" in the i915 driver Bryan Freed
2010-11-05  9:16 ` Chris Wilson
2010-11-05 18:51   ` Bryan Freed
2010-11-05 19:01     ` Chris Wilson [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='5b55a1$ij1vd3@fmsmga002.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=bfreed@chromium.org \
    --cc=intel-gfx@lists.freedesktop.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