i965/blorp: Do not emit pma stall on gen9+
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 21 Apr 2016 09:31:37 +0000 (12:31 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 21 Apr 2016 17:18:51 +0000 (20:18 +0300)
This was left out from the original gen8 upload introduction.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen8_blorp.cpp

index 8d1b96408cdbd61c30e820fb1e89fbf36da005e5..1bd9b97bb8fa7ef408c597d715a398b364724855 100644 (file)
@@ -710,5 +710,7 @@ gen8_blorp_exec(struct brw_context *brw, const brw_blorp_params *params)
    gen8_blorp_emit_vf_instancing_state(brw, 2);
    gen8_blorp_emit_vf_state(brw);
    gen7_blorp_emit_primitive(brw, params);
-   gen8_write_pma_stall_bits(brw, 0);
+
+   if (brw->gen < 9)
+      gen8_write_pma_stall_bits(brw, 0);
 }