i965: Only emit VS state pipe control workaround on IVB and BYT.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Feb 2014 20:21:40 +0000 (12:21 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Feb 2014 08:05:48 +0000 (00:05 -0800)
commit9b1a6745f6b827170ac29a00510dbb740c81a116
tree704d460a60fa64dbbfb705130d8e358186bdbded
parent51fc093421e4ed672ae3cba5a7f3695f3972e658
i965: Only emit VS state pipe control workaround on IVB and BYT.

According to the BSpec's 3D workarounds page, this is unnecessary on
shipping Haswell hardware, and was never necessary on Broadwell.  It
unfortunately doesn't say anything about Baytrail.

The workaround database confirms those results for Ivybridge, Haswell,
and Broadwell.  Baytrail is less clear - one page says it's necessary,
while the other says it isn't.  For now, be conservative and leave it
enabled.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen7_urb.c
src/mesa/drivers/dri/i965/gen7_vs_state.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c