From: Francisco Jerez Date: Wed, 4 Sep 2019 00:29:11 +0000 (-0700) Subject: intel/eu: Don't set notify descriptor field of gateway barrier message. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b52f813958648d7ba7ae469cac0c0a53ef1987c;p=mesa.git intel/eu: Don't set notify descriptor field of gateway barrier message. Apparently this field was removed on SKL, and according to the hardware docs for previous platforms "This field is only valid for a ForwardMsg message. It is ignored for other messages. The BarrierMsg message always increments the N0 notification counter". Reviewed-by: Caio Marcelo de Oliveira Filho Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/compiler/brw_eu_emit.c b/src/intel/compiler/brw_eu_emit.c index a78dd9e3b84..4bed2b144fd 100644 --- a/src/intel/compiler/brw_eu_emit.c +++ b/src/intel/compiler/brw_eu_emit.c @@ -3556,7 +3556,6 @@ brw_barrier(struct brw_codegen *p, struct brw_reg src) brw_set_desc(p, inst, brw_message_desc(devinfo, 1, 0, false)); brw_inst_set_sfid(devinfo, inst, BRW_SFID_MESSAGE_GATEWAY); - brw_inst_set_gateway_notify(devinfo, inst, 1); brw_inst_set_gateway_subfuncid(devinfo, inst, BRW_MESSAGE_GATEWAY_SFID_BARRIER_MSG);