|
@@ -858,6 +858,18 @@ static int chv_init_workarounds(struct intel_engine_cs *ring)
|
|
|
/* Improve HiZ throughput on CHV. */
|
|
|
WA_SET_BIT_MASKED(HIZ_CHICKEN, CHV_HZ_8X8_MODE_IN_1X);
|
|
|
|
|
|
+ /*
|
|
|
+ * BSpec recommends 8x4 when MSAA is used,
|
|
|
+ * however in practice 16x4 seems fastest.
|
|
|
+ *
|
|
|
+ * Note that PS/WM thread counts depend on the WIZ hashing
|
|
|
+ * disable bit, which we don't touch here, but it's good
|
|
|
+ * to keep in mind (see 3DSTATE_PS and 3DSTATE_WM).
|
|
|
+ */
|
|
|
+ WA_SET_FIELD_MASKED(GEN7_GT_MODE,
|
|
|
+ GEN6_WIZ_HASHING_MASK,
|
|
|
+ GEN6_WIZ_HASHING_16x4);
|
|
|
+
|
|
|
return 0;
|
|
|
}
|
|
|
|