From: Andi Shyti <andi.shyti@linux.intel.com>
To: "Cavitt, Jonathan" <jonathan.cavitt@intel.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [CI] drm/i915/gt: Refactor hangcheck selftest to use igt_spinner
Date: Tue, 22 Aug 2023 14:38:35 +0200 [thread overview]
Message-ID: <ZOSsS4YURnfNLvm6@ashyti-mobl2.lan> (raw)
In-Reply-To: <CH0PR11MB544438D1C2A1E609212D0E0FE51EA@CH0PR11MB5444.namprd11.prod.outlook.com>
Hi Jonathan,
> > The hangcheck live selftest contains duplicate declarations of some
> > functions that already exist in igt_spinner.c, such as the creation and
> > deconstruction of a spinning batch buffer (spinner) that hangs an engine.
> > It's undesireable to have such code duplicated, as the requirements for
> > the spinner may change with hardware updates, necessitating both
> > execution paths be updated. To avoid this, have the hangcheck live
> > selftest use the declaration from igt_spinner. This eliminates the need
> > for the declarations in the selftest itself, as well as the associated
> > local helper structures, so we can erase those.
> >
> > Suggested-by: Matt Roper <matthew.d.roper@intel.com>
> > Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
>
>
> Test fails with -62 (ETIME) on intel_selftest_wait_for_rq
> It looks like the cause might be me calling intel_context_put too early?
> Let me move those calls to later and see if that helps.
> Give me some time to implement those changes.
Thanks!
Andi
next prev parent reply other threads:[~2023-08-22 12:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-19 22:50 [Intel-gfx] [CI] drm/i915/gt: Refactor hangcheck selftest to use igt_spinner Andi Shyti
2023-08-19 23:19 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2023-08-19 23:19 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-08-19 23:34 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-08-20 11:15 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Refactor hangcheck selftest to use igt_spinner (rev2) Patchwork
2023-08-20 11:15 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-08-20 11:33 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-08-21 20:48 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Refactor hangcheck selftest to use igt_spinner (rev3) Patchwork
2023-08-21 20:48 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-08-21 21:07 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-08-21 21:42 ` [Intel-gfx] [CI] drm/i915/gt: Refactor hangcheck selftest to use igt_spinner Cavitt, Jonathan
2023-08-22 12:38 ` Andi Shyti [this message]
2023-08-22 17:59 ` John Harrison
-- strict thread matches above, loose matches on Subject: below --
2023-08-18 19:42 [Intel-gfx] [PATCH 1/3] drm/i915: Create a blitter context for GGTT updates Andi Shyti
2023-08-18 19:42 ` [Intel-gfx] [CI] drm/i915/gt: Refactor hangcheck selftest to use igt_spinner Andi Shyti
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=ZOSsS4YURnfNLvm6@ashyti-mobl2.lan \
--to=andi.shyti@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jonathan.cavitt@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