drm/i915: Use eLLC/LLC by default when available
commit4d15c145a6234d999c0452eec0d275c1fbf0688c
authorBen Widawsky <ben@bwidawsk.net>
Thu, 4 Jul 2013 18:02:06 +0000 (4 11:02 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Jul 2013 06:08:39 +0000 (16 08:08 +0200)
tree5b0fc02bc602bb3a11a6c58f87ce0645073f89e4
parent59124506ba5297e48410e410c3bce83784fddf58
drm/i915: Use eLLC/LLC by default when available

DRI clients really should be using MOCS to get fine grained streaming
cache controls. With that note, I *hope* that this patch doesn't improve
performance overwhelmingly, because if it does - it means there is a
problem elsewhere.

In any case, the kernel, and old userspace should get some benefit from
this, so let's do it. eLLC is always a good default, and really not
using it is the special case for MOCS.

References: http://www.intel.com/newsroom/kits/restricted/ha$well!/pdfs/4th_Gen_Intel_Core_PressBriefing_5-29.pdf (page 57)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c