summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2016-04-21 12:31:37 +0300
committerTopi Pohjolainen <[email protected]>2016-04-21 20:18:51 +0300
commit0020ca3c9269a8baa54501cb824af14fa497ac14 (patch)
treeb8cc2bd8e511ad7aabd94ff3683f448fee154e72
parent81c1c481ed2ea89e6bbccf37705c2ee95d78388f (diff)
i965/blorp: Do not emit pma stall on gen9+
This was left out from the original gen8 upload introduction. Signed-off-by: Topi Pohjolainen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/gen8_blorp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_blorp.cpp b/src/mesa/drivers/dri/i965/gen8_blorp.cpp
index 8d1b96408cd..1bd9b97bb8f 100644
--- a/src/mesa/drivers/dri/i965/gen8_blorp.cpp
+++ b/src/mesa/drivers/dri/i965/gen8_blorp.cpp
@@ -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);
}