drm/i915: Enable the HiZ RAW Stall Optimization on Broadwell.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Jan 2015 20:46:52 +0000 (12:46 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 17 Jan 2015 04:01:19 +0000 (05:01 +0100)
commit2701fc43562b55f5db0139ef6a7b13c2518ed6c0
tree14594bb9503c7d4ccd157b789980e4673ba9b782
parentfb49581415b505fcfa47e978a1879befe378897b
drm/i915: Enable the HiZ RAW Stall Optimization on Broadwell.

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.

Improves performance in OglVSInstancing by 3.2x on Broadwell GT3e
(Iris Pro 6200).

Thanks to Jesse Barnes and Ben Widawsky for their help in tracking this
down.  Thanks to Chris Wilson for showing me the new workarounds system.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.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