All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Jaswinder Singh Rajput <jaswinderlinux@gmail.com>,
	dri-devel@lists.freedesktop.org, Dave Airlie <airlied@linux.ie>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: render error detected, EIR: 0x00000010
Date: Thu, 13 May 2010 23:46:30 +0100	[thread overview]
Message-ID: <89k83a$882me0@azsmga001.ch.intel.com> (raw)
In-Reply-To: <AANLkTikfzHWeVjto4Q8bWDie_5BjRz3V0fc3LW7k4uob@mail.gmail.com>

On Fri, 14 May 2010 03:59:08 +0530, Jaswinder Singh Rajput <jaswinderlinux@gmail.com> wrote:
> Hello Chris,
> 
> I am also getting display error on another PC :
> 
> [   34.198957] render error detected, EIR: 0x00000010
> [   34.198972] [drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking
> [   34.198998] render error detected, EIR: 0x00000010

Wow. Things are really amiss there. MI_SET_CONTEXT (the first instruction
in the batch) was removed in

  commit 45f45c73469f1bd46a1b6fb206f2e9e5e4fd66b3
  Author: Eric Anholt <eric@anholt.net>
  Date:   Mon Dec 29 11:26:11 2008 -0800

      Remove logical context setup.

which explains why the destination bo is not on the active list, you
have a pre-GEM UMS xf86-video-intel (so the batchbuffer is using absolute
addressing rather than relocs and the kernel memory manager). The hardware
is reporting a PTE error (in the overlay plane!) and the single active
command is to clear the absolute buffer. As it is not being tracked by the
kernel, I can't tell you what's wrong with the buffer, but most probably
either the size or its stride is illegal in the context of that command.
Or maybe even the GTT hasn't been fully initialised for the buffer, it is
impossible to tell.

In short, you can trade this bug against the risk of GTT incoherency that
is endemic on i8xx by updating your driver.

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2010-05-13 22:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-13 22:29 render error detected, EIR: 0x00000010 Jaswinder Singh Rajput
2010-05-13 22:46 ` Chris Wilson [this message]
2010-05-14  7:35   ` Jaswinder Singh Rajput
2010-05-14  7:35     ` Jaswinder Singh Rajput
2010-05-14  6:48 ` Oliver Neukum
2010-05-14  6:48 ` Oliver Neukum
2010-05-14  7:27   ` Jaswinder Singh Rajput
2010-05-14  7:27     ` Jaswinder Singh Rajput
2010-05-14  7:36     ` Oliver Neukum
2010-05-14  7:36     ` Oliver Neukum

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='89k83a$882me0@azsmga001.ch.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jaswinderlinux@gmail.com \
    --cc=linux-kernel@vger.kernel.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.