From: John Harrison <john.c.harrison@intel.com>
To: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>,
<intel-gfx@lists.freedesktop.org>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/guc: skip scrub_ctbs selftest if reset is disabled
Date: Tue, 16 Aug 2022 15:50:26 -0700 [thread overview]
Message-ID: <4fa5b891-0f73-3cc6-44c9-e86ff3328780@intel.com> (raw)
In-Reply-To: <20220708224158.929327-1-daniele.ceraolospurio@intel.com>
On 7/8/2022 15:41, Daniele Ceraolo Spurio wrote:
> The test needs GT reset to trigger the scrubbing logic, so we can only
> run it when reset is enabled.
>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: John Harrison <john.c.harrison@intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
> ---
> drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/gt/uc/selftest_guc.c b/drivers/gpu/drm/i915/gt/uc/selftest_guc.c
> index 1df71d0796ae..5bd804f29b32 100644
> --- a/drivers/gpu/drm/i915/gt/uc/selftest_guc.c
> +++ b/drivers/gpu/drm/i915/gt/uc/selftest_guc.c
> @@ -54,6 +54,9 @@ static int intel_guc_scrub_ctbs(void *arg)
> struct intel_engine_cs *engine;
> struct intel_context *ce;
>
> + if (!intel_has_gpu_reset(gt))
> + return 0;
> +
> wakeref = intel_runtime_pm_get(gt->uncore->rpm);
> engine = intel_selftest_find_any_engine(gt);
>
WARNING: multiple messages have this Message-ID (diff)
From: John Harrison <john.c.harrison@intel.com>
To: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>,
<intel-gfx@lists.freedesktop.org>
Cc: Matthew Brost <matthew.brost@intel.com>, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/guc: skip scrub_ctbs selftest if reset is disabled
Date: Tue, 16 Aug 2022 15:50:26 -0700 [thread overview]
Message-ID: <4fa5b891-0f73-3cc6-44c9-e86ff3328780@intel.com> (raw)
In-Reply-To: <20220708224158.929327-1-daniele.ceraolospurio@intel.com>
On 7/8/2022 15:41, Daniele Ceraolo Spurio wrote:
> The test needs GT reset to trigger the scrubbing logic, so we can only
> run it when reset is enabled.
>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: John Harrison <john.c.harrison@intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
> ---
> drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/gt/uc/selftest_guc.c b/drivers/gpu/drm/i915/gt/uc/selftest_guc.c
> index 1df71d0796ae..5bd804f29b32 100644
> --- a/drivers/gpu/drm/i915/gt/uc/selftest_guc.c
> +++ b/drivers/gpu/drm/i915/gt/uc/selftest_guc.c
> @@ -54,6 +54,9 @@ static int intel_guc_scrub_ctbs(void *arg)
> struct intel_engine_cs *engine;
> struct intel_context *ce;
>
> + if (!intel_has_gpu_reset(gt))
> + return 0;
> +
> wakeref = intel_runtime_pm_get(gt->uncore->rpm);
> engine = intel_selftest_find_any_engine(gt);
>
next prev parent reply other threads:[~2022-08-16 22:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 22:41 [Intel-gfx] [PATCH] drm/i915/guc: skip scrub_ctbs selftest if reset is disabled Daniele Ceraolo Spurio
2022-07-08 22:41 ` Daniele Ceraolo Spurio
2022-07-08 23:26 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-07-09 8:30 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-08-16 22:50 ` John Harrison [this message]
2022-08-16 22:50 ` [PATCH] " John Harrison
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=4fa5b891-0f73-3cc6-44c9-e86ff3328780@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 \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.