drm/i915: enable HiZ Raw Stall Optimization on HSW
authorChia-I Wu <olv@lunarg.com>
Tue, 28 Jan 2014 05:29:33 +0000 (13:29 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 30 Jan 2014 12:09:02 +0000 (13:09 +0100)
commitfe27c606625299ec6237ad420e9c2f961fa3bf3d
treeffeca25f51ec2c0ef27c7852d6a0790a48c8a94b
parent6c7a01ec3743a5a6ce9e53a69d7a6c2d8c715eb1
drm/i915: enable HiZ Raw Stall Optimization on HSW

The optimization is available on Ivy Bridge and later, and is disabled by
default.  Enabling it helps certain workloads such as GLBenchmark TRex test.

No piglit regression.

v2
 - no need to save the register before suspend as init_clock_gating can
   correctly program it after resume
 - split IVB change to another commit

Signed-off-by: Chia-I Wu <olv@lunarg.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.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