[PATCH] drm/intel: increase reset timeout
Nirmoy Das
nirmoy.das at intel.com
Thu Nov 16 12:21:19 UTC 2023
Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
---
drivers/gpu/drm/i915/gt/intel_reset.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_reset.c b/drivers/gpu/drm/i915/gt/intel_reset.c
index d5ed904f355d..4054ef705813 100644
--- a/drivers/gpu/drm/i915/gt/intel_reset.c
+++ b/drivers/gpu/drm/i915/gt/intel_reset.c
@@ -591,12 +591,18 @@ static int gen8_engine_reset_prepare(struct intel_engine_cs *engine)
intel_uncore_write_fw(uncore, reg, _MASKED_BIT_ENABLE(request));
ret = __intel_wait_for_register_fw(uncore, reg, mask, ack,
- 700, 0, NULL);
+ 1000, 0, NULL);
if (ret)
gt_err(engine->gt,
- "%s reset request timed out: {request: %08x, RESET_CTL: %08x}\n",
+ "%s reset request timed out: {request: %08x, RESET_CTL: %08x} ret %d\n",
+ engine->name, request,
+ intel_uncore_read_fw(uncore, reg), ret);
+ else
+ gt_info(engine->gt,
+ "%s reset request passed: {request: %08x, RESET_CTL: %08x} ret %d\n",
engine->name, request,
- intel_uncore_read_fw(uncore, reg));
+ intel_uncore_read_fw(uncore, reg), ret);
+
return ret;
}
--
2.42.0
More information about the Intel-gfx-trybot
mailing list