Linus merged the patch into the upstream kernel, and Greg picked it up
for 3.3 stable.  Hopefully should be landing in a distro near you. :)

Marking fixed.  If upgrading kernels is inconvenient, you can also apply
the workaround manually via "sudo intel_reg_write 0x2120 0x1206800", or
by disabling HiZ and separate stencil (export hiz=false).  (The kernel
patch does the register write, so the intel_reg_write workaround is just
as good.)

commit 3a69ddd6f872180b6f61fda87152b37202118fbc
Author: Kenneth Graunke <kenn...@whitecape.org>
Date:   Fri Apr 27 12:44:41 2012 -0700

    drm/i915: Set the Stencil Cache eviction policy to non-LRA mode.
    
    Clearing bit 5 of CACHE_MODE_0 is necessary to prevent GPU hangs in
    OpenGL programs such as Google MapsGL, Google Earth, and gzdoom when
    using separate stencil buffers.  Without it, the GPU tries to use the
    LRA eviction policy, which isn't supported.  This was supposed to be off
    by default, but seems to be on for many machines.
    
    This cannot be done in gen6_init_clock_gating with most of the other
    workaround bits; the render ring needs to exist.  Otherwise, the
    register write gets dropped on the floor (one printk will show it
    changed, but a second printk immediately following shows the value
    reverts to the old one).
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47535
    Cc: sta...@vger.kernel.org
    Cc: Rob Castle <future...@gmail.com>
    Cc: Eric Appleman <erapple...@gmail.com>
    Cc: aaron...@gmx.net
    Cc: Keith Packard <kei...@keithp.com>
    Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
    Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
    Acked-by: Daniel Vetter <daniel.vet...@ffwll.ch>
    Signed-off-by: Dave Airlie <airl...@redhat.com>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/966631

Title:
  [sandybridge-m-gt2] GPU lockup  render.IPEHR: 0x7a000003 with Google
  Maps(WebGL) in Chromium

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/966631/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to