summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2017-05-24 13:58:37 -0700
committerAnuj Phogat <[email protected]>2018-02-15 16:14:56 -0800
commit85f319155feec92d7249352513b4ab17a73d7c42 (patch)
treec0448517de2c9860e2c08b5309a70e3eee9f8ceb /src/mesa/drivers/dri/i965
parent772a75be46788c5359c03f875cb0af4bbaa411d2 (diff)
i965/icl: Don't set ResetGatewayTimer
This field is removed in gen11+ Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/genX_state_upload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c
index 498c3979ad5..f1842b36c06 100644
--- a/src/mesa/drivers/dri/i965/genX_state_upload.c
+++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
@@ -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