From 0020ca3c9269a8baa54501cb824af14fa497ac14 Mon Sep 17 00:00:00 2001 From: Topi Pohjolainen Date: Thu, 21 Apr 2016 12:31:37 +0300 Subject: [PATCH] i965/blorp: Do not emit pma stall on gen9+ This was left out from the original gen8 upload introduction. Signed-off-by: Topi Pohjolainen Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen8_blorp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.30.2