From: Bruce Chang Date: Tue, 7 Dec 2021 00:38:45 +0000 (-0800) Subject: drm/i915/selftests: Follow up on increase timeout in i915_gem_contexts selftests X-Git-Tag: v6.6.17~3937^2~16^2~1203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=491fe469ad0e14a06dce7ebc6a19c4fc3f9300e7;p=platform%2Fkernel%2Flinux-rpi.git drm/i915/selftests: Follow up on increase timeout in i915_gem_contexts selftests Follow up on below commit, to increase the timeout further on new platforms, to accomodate the additional time required for the completion of guc submissions for numerous requests created in loop. commit 5e076529e2652244ec20a86d8f99ba634a16c4f4 Author: Matthew Brost Date: Mon Jul 26 20:17:03 2021 -0700 drm/i915/selftests: Increase timeout in i915_gem_contexts selftests Signed-off-by: Bruce Chang Reviewed-by: Matthew Brost Cc: John Harrison Signed-off-by: Ramalingam C Link: https://patchwork.freedesktop.org/patch/msgid/20211207003845.12419-1-yu.bruce.chang@intel.com --- diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c index b32f7fe..21b7156 100644 --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c +++ b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c @@ -88,7 +88,7 @@ static int live_nop_switch(void *arg) rq = i915_request_get(this); i915_request_add(this); } - if (i915_request_wait(rq, 0, HZ) < 0) { + if (i915_request_wait(rq, 0, 10 * HZ) < 0) { pr_err("Failed to populated %d contexts\n", nctx); intel_gt_set_wedged(&i915->gt); i915_request_put(rq);