From: Anuj Phogat Date: Wed, 24 May 2017 20:58:37 +0000 (-0700) Subject: i965/icl: Don't set ResetGatewayTimer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85f319155feec92d7249352513b4ab17a73d7c42;p=mesa.git i965/icl: Don't set ResetGatewayTimer This field is removed in gen11+ Signed-off-by: Anuj Phogat Reviewed-by: Kenneth Graunke --- 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