]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Enable GTT caching on gen8
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 May 2015 17:32:57 +0000 (20:32 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 May 2015 06:08:36 +0000 (08:08 +0200)
commitce751756b14d3bc3d5cfcb6c61cf42a0dbc44f49
tree91d8ab6b99c0f6199bbd933f75c8df533d04f02a
parent0ae55ca97f0f275eb2ee5039babceccdcf598f52
drm/i915: Enable GTT caching on gen8

GTT caching was disabled by default on gen8 due to not working with
big pages. Some information suggests that it got fixed, but still
GTT caching has been left disabled by default. Or could be it just
meant that the default was changed to off, and hence the problem
got solved.

Enable GTT caching in the hopes of some performance increase.
Whether or not the big pages issue has been fixed is irrelevant
at this stage since we don't use big pages.

This gives me a 1-2% improvement in xonotic on my BSW. Haven't tried
BDW, but supposedly it has larger TLBs so might not benefit as much.
On HSW GTT caching is enabled by default.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c