[Intel-gfx] [PATCH] drm/i915/gt: Increase MCR lock timeout

Jonathan Cavitt jonathan.cavitt at intel.com
Tue Oct 3 21:08:40 UTC 2023


Increase the timeout MCR waits for the steering semaphore
in intel_gt_mcr_lock by a factor of 10.

Signed-off-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
---
 drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_gt_mcr.c b/drivers/gpu/drm/i915/gt/intel_gt_mcr.c
index 326c2ed1d99bb..e3f7fb1248809 100644
--- a/drivers/gpu/drm/i915/gt/intel_gt_mcr.c
+++ b/drivers/gpu/drm/i915/gt/intel_gt_mcr.c
@@ -378,7 +378,7 @@ void intel_gt_mcr_lock(struct intel_gt *gt, unsigned long *flags)
 	 */
 	if (GRAPHICS_VER_FULL(gt->i915) >= IP_VER(12, 70))
 		err = wait_for(intel_uncore_read_fw(gt->uncore,
-						    MTL_STEER_SEMAPHORE) == 0x1, 100);
+						    MTL_STEER_SEMAPHORE) == 0x1, 1000);
 
 	/*
 	 * Even on platforms with a hardware lock, we'll continue to grab
-- 
2.25.1



More information about the Intel-gfx mailing list