Skip to content

Commit 716c61c

Browse files
mbrost05johnharr-intel
authored andcommitted
drm/i915/selftest: Increase some timeouts in live_requests
Requests may take slightly longer with GuC submission, let's increase the timeouts in live_requests. Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: John Harrison <[email protected]> Signed-off-by: John Harrison <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 064a1f3 commit 716c61c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/selftests/i915_request.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ static int __live_parallel_engine1(void *arg)
13131313
i915_request_add(rq);
13141314

13151315
err = 0;
1316-
if (i915_request_wait(rq, 0, HZ / 5) < 0)
1316+
if (i915_request_wait(rq, 0, HZ) < 0)
13171317
err = -ETIME;
13181318
i915_request_put(rq);
13191319
if (err)
@@ -1419,7 +1419,7 @@ static int __live_parallel_spin(void *arg)
14191419
}
14201420
igt_spinner_end(&spin);
14211421

1422-
if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
1422+
if (err == 0 && i915_request_wait(rq, 0, HZ) < 0)
14231423
err = -EIO;
14241424
i915_request_put(rq);
14251425

0 commit comments

Comments
 (0)