drm/i915: Ensure the HiZ RAW Stall Optimization is on for Cherryview.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Jan 2015 20:46:53 +0000 (12:46 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 17 Jan 2015 04:01:28 +0000 (05:01 +0100)
commit973a5b06a096f1a9494ebe94c78d809459f4dc74
treeb0a265eb0ad15d2754e2f1b5435f5a16a0c629f8
parent2701fc43562b55f5db0139ef6a7b13c2518ed6c0
drm/i915: Ensure the HiZ RAW Stall Optimization is on for Cherryview.

This is an important optimization for avoiding read-after-write (RAW)
stalls in the HiZ buffer.  Certain workloads would run very slowly with
HiZ enabled, but run much faster with the "hiz=false" driconf option.
With this patch, they run at full speed even with HiZ.

Increases performance in OglVSInstancing by about 2.7x on Braswell.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c