[PATCH 1/3] drm/i915: Increase the timeout of the spinners
Rodrigo Vivi
rodrigo.vivi at intel.com
Wed Jan 8 14:13:15 UTC 2025
Although in most of the cases it will be a lot faster, there are some
rare cases in a few platforms where this can result in a timeout,
specially when we enable the GPU-CPU balancing in GuC SLPC.
The wait by itself consumes CPU and the GPU workload is small enough,
so the priority is given to the CPU and we can expect some delays
here. This number was a random picked number when reducing
it on commit d4b02a4c613e ("drm/i915/selftests: Trim execlists
runtime") in preparation for some scheduler improvements.
Let's move it back up.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
drivers/gpu/drm/i915/selftests/igt_spinner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/selftests/igt_spinner.c b/drivers/gpu/drm/i915/selftests/igt_spinner.c
index 8c3e1f20e5a1..bb757b922ad9 100644
--- a/drivers/gpu/drm/i915/selftests/igt_spinner.c
+++ b/drivers/gpu/drm/i915/selftests/igt_spinner.c
@@ -260,5 +260,5 @@ bool igt_wait_for_spinner(struct igt_spinner *spin, struct i915_request *rq)
100) &&
wait_for(i915_seqno_passed(hws_seqno(spin, rq),
rq->fence.seqno),
- 50));
+ 1000));
}
--
2.47.1
More information about the Intel-gfx
mailing list