drm/i915: Use the LLC mode on gen6 for everything but display.
authorEric Anholt <eric@anholt.net>
Tue, 29 Mar 2011 23:59:55 +0000 (16:59 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 10 Jun 2011 04:51:22 +0000 (21:51 -0700)
commita18711120764dd96ed2ee6a4d436c448542bad77
tree1489513e3fa18f9f164ae431120d6abf62b3b276
parenta7ef0640d984e265393a76aa08a09febd3e7ce34
drm/i915: Use the LLC mode on gen6 for everything but display.

Improves full-screen openarena on my laptop 20.3% +/- 4.0% (n=3)
Improves 800x600 nexuiz on my laptop 12.3% +/- 0.1% (n=3)

We have more room to improve with doing LLC caching for display using
GFDT, and in doing LLC+MLC caching, but this was an easy performance
win and incremental improvement toward those two.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c