i965/icl: Don't set ResetGatewayTimer
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 24 May 2017 20:58:37 +0000 (13:58 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Feb 2018 00:14:56 +0000 (16:14 -0800)
This field is removed in gen11+

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/genX_state_upload.c

index 498c3979ad5f2ea8e30fc9510b0adc3da58c010e..f1842b36c06ef869d32236c26bbbca95302ffd4f 100644 (file)
@@ -4220,8 +4220,10 @@ genX(upload_cs_state)(struct brw_context *brw)
       const uint32_t subslices = MAX2(brw->screen->subslice_total, 1);
       vfe.MaximumNumberofThreads = devinfo->max_cs_threads * subslices - 1;
       vfe.NumberofURBEntries = GEN_GEN >= 8 ? 2 : 0;
+#if GEN_GEN < 11
       vfe.ResetGatewayTimer =
          Resettingrelativetimerandlatchingtheglobaltimestamp;
+#endif
 #if GEN_GEN < 9
       vfe.BypassGatewayControl = BypassingOpenGatewayCloseGatewayprotocol;
 #endif