From: John Harrison <john.c.harrison@intel.com>
To: Matthew Brost <matthew.brost@intel.com>,
<intel-gfx@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>
Cc: <daniele.ceraolospurio@intel.com>
Subject: Re: [Intel-gfx] [PATCH 1/1] drm/i915/selftests: Increase timeout in i915_gem_contexts selftests
Date: Thu, 19 Aug 2021 15:47:38 -0700 [thread overview]
Message-ID: <175fb44d-bd09-8baa-d2aa-41e2bf29dd23@intel.com> (raw)
In-Reply-To: <20210727031703.40395-2-matthew.brost@intel.com>
On 7/26/2021 20:17, Matthew Brost wrote:
> Like in the case of several other selftests, generating lots of requests
> in a loop takes a bit longer with GuC submission. Increase a timeout in
> i915_gem_contexts selftest to take this into account.
>
> Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
> ---
> drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 8eb5050f8cb3..4d2758718d21 100644
> --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
> +++ b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
> @@ -94,7 +94,7 @@ static int live_nop_switch(void *arg)
> rq = i915_request_get(this);
> i915_request_add(this);
> }
> - if (i915_request_wait(rq, 0, HZ / 5) < 0) {
> + if (i915_request_wait(rq, 0, HZ) < 0) {
> pr_err("Failed to populated %d contexts\n", nctx);
> intel_gt_set_wedged(&i915->gt);
> i915_request_put(rq);
next prev parent reply other threads:[~2021-08-19 22:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-27 3:17 [Intel-gfx] [PATCH 0/1] Increase timeout in i915_gem_contexts selftests Matthew Brost
2021-07-27 3:17 ` [Intel-gfx] [PATCH 1/1] drm/i915/selftests: " Matthew Brost
2021-08-19 22:47 ` John Harrison [this message]
2021-07-27 3:44 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-07-27 8:24 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175fb44d-bd09-8baa-d2aa-41e2bf29dd23@intel.com \
--to=john.c.harrison@intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.brost@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).