]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: implement WaDisableL3CacheAging on VLV
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 25 Oct 2012 19:15:41 +0000 (12:15 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:34 +0000 (23:51 +0100)
commit14998d809223895b0fa1c4fd1bcd27ca4abbaafc
tree2a59cdc0ad8cda0fe7b748701544bfd6e530aae0
parentb4c0272defce6574aa1219935bcf07c0a2d72a2c
drm/i915: implement WaDisableL3CacheAging on VLV

Needs to be set on every context restore as well, so set it as part of
the initial state so we can save/restore it.  Note this removes the IVB
workaround value from VLV and uses the default value, just adding in the
L3 cache aging disable bit, since the IVB value is wrong for VLV.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Antti Koskipää <antti.koskipaa@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c