From: Topi Pohjolainen Date: Thu, 21 Apr 2016 09:31:37 +0000 (+0300) Subject: i965/blorp: Do not emit pma stall on gen9+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0020ca3c9269a8baa54501cb824af14fa497ac14;p=mesa.git 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 --- 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); }