From 85f319155feec92d7249352513b4ab17a73d7c42 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Wed, 24 May 2017 13:58:37 -0700 Subject: [PATCH] i965/icl: Don't set ResetGatewayTimer This field is removed in gen11+ Signed-off-by: Anuj Phogat Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/genX_state_upload.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2