[PATCH] do not delay the forcewake acquisition

Andi Shyti andi.shyti at linux.intel.com
Mon Oct 9 21:55:44 UTC 2023


---
 drivers/gpu/drm/i915/gt/intel_tlb.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_tlb.c b/drivers/gpu/drm/i915/gt/intel_tlb.c
index 139608c30d97..24e1aab9e9ef 100644
--- a/drivers/gpu/drm/i915/gt/intel_tlb.c
+++ b/drivers/gpu/drm/i915/gt/intel_tlb.c
@@ -100,13 +100,7 @@ static void mmio_invalidate_full(struct intel_gt *gt)
 					   engine->name, TLB_INVAL_TIMEOUT_MS);
 	}
 
-	/*
-	 * Use delayed put since a) we mostly expect a flurry of TLB
-	 * invalidations so it is good to avoid paying the forcewake cost and
-	 * b) it works around a bug in Icelake which cannot cope with too rapid
-	 * transitions.
-	 */
-	intel_uncore_forcewake_put_delayed(uncore, FORCEWAKE_ALL);
+	intel_uncore_forcewake_put(uncore, FORCEWAKE_ALL);
 }
 
 static bool tlb_seqno_passed(const struct intel_gt *gt, u32 seqno)
-- 
2.40.1



More information about the Intel-gfx-trybot mailing list