intel/eu: Don't set notify descriptor field of gateway barrier message.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 4 Sep 2019 00:29:11 +0000 (17:29 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000 (12:24 -0700)
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 <caio.oliveira@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu_emit.c

index a78dd9e3b84cbc007087416d58af9a57a7b85b73..4bed2b144fd8ffa9636d0f2aaf1b55f6142aa1ab 100644 (file)
@@ -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);