i965: Fix hangs on HSW since the gen6 blorp fix.
authorEric Anholt <eric@anholt.net>
Tue, 7 May 2013 03:44:21 +0000 (20:44 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 8 May 2013 17:23:41 +0000 (10:23 -0700)
commit5d06c9ea0f1aa2f312660413acd1bd6a1dafe1a6
tree823b167078adb5036aaf922fa4d3175e4e0aacc5
parent2878f4685c8a5165937b5f4510b602d1a67af055
i965: Fix hangs on HSW since the gen6 blorp fix.

The constant packets for gen6 are too small for gen7, and while IVB seems
happy with them HSW blows up.  Fix it by emitting the correct packets on
gen7, for all stages.

v2: Include the packets instead of just skipping them.
NOTE: This is a candidate for the stable branches.
Reviewed-and-tested-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_blorp.cpp