drm/i915: Add the WaCsStallBeforeStateCacheInvalidate:bdw workaround.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 27 Jan 2014 22:20:16 +0000 (14:20 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Aug 2014 12:04:07 +0000 (14:04 +0200)
commit02c9f7e3cfe76a7f54ef03438c36aade86cc1c8b
treef06021f73f72939b07e978c843e77a8167b5fbb4
parent884ceacee308f0e4616d0c933518af2639f7b1d8
drm/i915: Add the WaCsStallBeforeStateCacheInvalidate:bdw workaround.

On Broadwell, any PIPE_CONTROL with the "State Cache Invalidate" bit set
must be preceded by a PIPE_CONTROL with the "CS Stall" bit set.

Documented on the BSpec 3D workarounds page.

Reviewed-by: Rafael Barbalho <rafael.barbalho@intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
[vsyrjala: add chv w/a note too]
Signed-off-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