]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/selftests: Follow up on increase timeout in i915_gem_contexts selftests
authorBruce Chang <yu.bruce.chang@intel.com>
Tue, 7 Dec 2021 00:38:45 +0000 (16:38 -0800)
committerRamalingam C <ramalingam.c@intel.com>
Tue, 7 Dec 2021 14:49:49 +0000 (20:19 +0530)
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 02f008b7023c2fc26fd99dc16be3cab514554f16
Author: Matthew Brost <matthew.brost@intel.com>
Date:   Mon Jul 26 20:17:03 2021 -0700

    drm/i915/selftests: Increase timeout in i915_gem_contexts selftests

Signed-off-by: Bruce Chang <yu.bruce.chang@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211207003845.12419-1-yu.bruce.chang@intel.com
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c

index b32f7fed2d9ce6268ff6bc70a4605ef30aaf1932..21b71568cd5ffad81fd0e92ee696092c5acc6c34 100644 (file)
@@ -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);