From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Matthew Auld <matthew.auld@intel.com>
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
Matthew Brost <matthew.brost@intel.com>
Subject: Re: [Intel-gfx] [PATCH] drm/i915: remember to call i915_sw_fence_fini
Date: Fri, 24 Sep 2021 18:35:58 +0300 [thread overview]
Message-ID: <YU3wXm6gy3iDeqgx@intel.com> (raw)
In-Reply-To: <20210924144646.4096402-1-matthew.auld@intel.com>
On Fri, Sep 24, 2021 at 03:46:46PM +0100, Matthew Auld wrote:
> Seems to fix some object-debug splat which appeared while debugging
> something unrelated.
>
> v2: s/guc_blocked/guc_state.blocked/
>
> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
Seems to help.
Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Bonus points if someone can figure out how this getting past CI in its
current state. I can trigger it very easily by pretty much running any
igt. Though for some reason it doesn't always trigger on the first run
of an igt after boot, sometimes takes a few runs. Dunno if the checks
are a bit lazy or something.
> ---
> drivers/gpu/drm/i915/gt/intel_context.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_context.c b/drivers/gpu/drm/i915/gt/intel_context.c
> index ff637147b1a9..e9a0cad5c34d 100644
> --- a/drivers/gpu/drm/i915/gt/intel_context.c
> +++ b/drivers/gpu/drm/i915/gt/intel_context.c
> @@ -419,6 +419,7 @@ void intel_context_fini(struct intel_context *ce)
>
> mutex_destroy(&ce->pin_mutex);
> i915_active_fini(&ce->active);
> + i915_sw_fence_fini(&ce->guc_state.blocked);
> }
>
> void i915_context_module_exit(void)
> --
> 2.26.3
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2021-09-24 15:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 14:46 [Intel-gfx] [PATCH] drm/i915: remember to call i915_sw_fence_fini Matthew Auld
2021-09-24 15:35 ` Ville Syrjälä [this message]
2021-09-24 15:36 ` Matthew Brost
2021-09-24 18:05 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-09-24 21:13 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " 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=YU3wXm6gy3iDeqgx@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.auld@intel.com \
--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