drm/i915: enable low power render writes on GEN3 hardware.
commit2ef2b029013e81656ea6c24b4edc03f2db8854f4
authorDave Airlie <airlied@redhat.com>
Tue, 20 Jul 2010 03:15:31 +0000 (20 13:15 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:36 +0000 (2 10:29 -0700)
tree402829da2ae0af184d781a2ffd742dc488fe0a5c
parentebd740e3f99377b1fd482d10d67eb56cf06a0509
drm/i915: enable low power render writes on GEN3 hardware.

commit 944001201ca0196bcdb088129e5866a9f379d08c upstream.

A lot of 945GMs have had stability issues for a long time, this manifested as X hangs, blitter engine hangs, and lots of crashes.

one such report is at:
https://bugs.freedesktop.org/show_bug.cgi?id=20560

along with numerous distro bugzillas.

This only took a week of digging and hair ripping to figure out.

Tracked down and tested on a 945GM Lenovo T60,
previously running
x11perf -copypixwin500
or
x11perf -copywinpix500
repeatedly would cause the GPU to wedge within 4 or 5 tries, with random busy bits set.

After this patch no hangs were observed.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_gem.c