Commit 716c61c8 authored by Matthew Brost's avatar Matthew Brost Committed by John Harrison
Browse files

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: default avatarMatthew Brost <matthew.brost@intel.com>
Reviewed-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727002348.97202-30-matthew.brost@intel.com
parent 064a1f35
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1313,7 +1313,7 @@ static int __live_parallel_engine1(void *arg)
		i915_request_add(rq);

		err = 0;
		if (i915_request_wait(rq, 0, HZ / 5) < 0)
		if (i915_request_wait(rq, 0, HZ) < 0)
			err = -ETIME;
		i915_request_put(rq);
		if (err)
@@ -1419,7 +1419,7 @@ static int __live_parallel_spin(void *arg)
	}
	igt_spinner_end(&spin);

	if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
	if (err == 0 && i915_request_wait(rq, 0, HZ) < 0)
		err = -EIO;
	i915_request_put(rq);