Bug 13844 - i915 error: "render error detected"
i915 error: "render error detected"
Status: RESOLVED CODE_FIX
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel)
All Linux
: P2 normal
Assigned To: Jesse Barnes
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-26 21:59 UTC by Rafael J. Wysocki
Modified: 2010-07-23 20:17 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.31-rc4
Tree: Mainline
Regression: Yes


Attachments

Description Rafael J. Wysocki 2009-07-26 21:59:55 UTC
Subject    : Linux-2.6.31-rc4 - i915 errors
Submitter  : Fabio Comolli <fabio.comolli@gmail.com>
Date       : 2009-07-25 9:30
References : http://marc.info/?l=linux-kernel&m=124851427612720&w=4

This entry is being used for tracking a regression from 2.6.30.  Please don't
close it until the problem is fixed in the mainline.
Comment 1 Rafael J. Wysocki 2009-07-27 22:49:49 UTC
On Monday 27 July 2009, Jesse Barnes wrote:
> On Sun, 26 Jul 2009 22:28:30 +0200 (CEST)
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> 
> > This message has been generated automatically as a part of a report
> > of recent regressions.
> > 
> > The following bug entry is on the current list of known regressions
> > from 2.6.30.  Please verify if it still should be listed and let me
> > know (either way).
> > 
> > 
> > Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=13844
> > Subject		: i915 errors
> > Submitter	: Fabio Comolli <fabio.comolli@gmail.com>
> > Date		: 2009-07-25 9:30 (2 days old)
> > References	:
> > http://marc.info/?l=linux-kernel&m=124851427612720&w=4
> 
> I probably wasn't clear enough in my last mail about this one.  The
> errors have always been present, we just report them now.  I think this
> particular one is harmless, but we should still try to fix it (now that
> we have more data about it).
Comment 2 Rafael J. Wysocki 2009-07-27 22:50:28 UTC
Dropping from the list of recent regressions.
Comment 3 ykzhao 2010-03-25 02:51:24 UTC
Hi, Fabio
    Will you please try the following patch and see whether the issue still exists?
   >http://lists.freedesktop.org/archives/intel-gfx/2010-February/005803.html

thanks.
Comment 4 Chris Wilson 2010-05-18 09:31:21 UTC
The original report matches the machine I used to test this patch, included in 2.6.33-rc8:

commit fd2e8ea597222b8f38ae8948776a61ea7958232e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Feb 9 14:14:36 2010 +0000

    drm/i915: Increase fb alignment to 64k
    
    An untiled framebuffer must be aligned to 64k. This is normally handled
    by intel_pin_and_fence_fb_obj(), but the intelfb_create() likes to be
    different and do the pinning itself. However, it aligns the buffer
    object incorrectly for pre-i965 chipsets causing a PGTBL_ERR when it is
    installed onto the output.
    
    Fixes:
      KMS error message while initializing modesetting -
      render error detected: EIR: 0x10 [i915]
      http://bugs.freedesktop.org/show_bug.cgi?id=22936
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: stable@kernel.org
    Signed-off-by: Eric Anholt <eric@anholt.net>
Comment 5 Chris Wilson 2010-06-06 13:11:55 UTC
And a subsequent patch to catch any other case is included in 2.6.35-rc2:

commit ac0c6b5ad3b3b513e1057806d4b7627fcc0ecc27
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 27 13:18:18 2010 +0100

    drm/i915: Rebind bo if currently bound with incorrect alignment.
    
    Whilst pinning the buffer, check that that its current alignment
    matches the requested alignment. If it does not, rebind.
    
    This should clear up any final render errors whilst resuming,
    for reference:
    
      Bug 27070 - [i915] Page table errors with empty ringbuffer
      https://bugs.freedesktop.org/show_bug.cgi?id=27070
    
      Bug 15502 -  render error detected, EIR: 0x00000010
      https://bugzilla.kernel.org/show_bug.cgi?id=15502
    
      Bug 13844 -  i915 error: "render error detected"
      https://bugzilla.kernel.org/show_bug.cgi?id=13844
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: stable@kernel.org
    Signed-off-by: Eric Anholt <eric@anholt.net>

Note You need to log in before you can comment on or make changes to this bug.