From: vitaly prosyak <vprosyak@amd.com>
To: Jesse Zhang <jesse.zhang@amd.com>, igt-dev@lists.freedesktop.org
Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>,
Alex Deucher <alexander.deucher@amd.com>,
Christian Koenig <christian.koenig@amd.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>
Subject: Re: [PATCH i-g-t v2] tests/amdgpu: add check for deadlock test
Date: Tue, 16 Apr 2024 17:06:20 -0400 [thread overview]
Message-ID: <59f370c6-7f84-4783-9ef7-4995acf8da9e@amd.com> (raw)
In-Reply-To: <20240416020405.184146-1-jesse.zhang@amd.com>
Hi Jesse,
The change looks good to me.
Please, remove links and AMD internal information within the commit message.
With this fixed
Reviewed by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Thanks, Vitaly
On 2024-04-15 22:04, Jesse Zhang wrote:
> Only enable deadlock test for ASICs supporting GPU reset.
> The internal related tickets:
> https://ontrack-internal.amd.com/browse/LWPSWATG-6036
> https://ontrack-internal.amd.com/browse/SWDEV-112212
>
> the issue report by:GMP, Vikram <vikram.gmp@amd.com>
> The internal ticket:
> https://ontrack-internal.amd.com/browse/SWDEV-455182
>
> Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>
> Cc: Alex Deucher <alexander.deucher@amd.com>
> Cc: Christian Koenig <christian.koenig@amd.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
> ---
> tests/amdgpu/amd_deadlock.c | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/tests/amdgpu/amd_deadlock.c b/tests/amdgpu/amd_deadlock.c
> index dc7ec4366..7a27fae51 100644
> --- a/tests/amdgpu/amd_deadlock.c
> +++ b/tests/amdgpu/amd_deadlock.c
> @@ -9,6 +9,28 @@
> #include "lib/amdgpu/amd_command_submission.h"
> #include "lib/amdgpu/amd_deadlock_helpers.h"
>
> +#define AMDGPU_FAMILY_SI 110 /* Hainan, Oland, Verde, Pitcairn, Tahiti */
> +#define AMDGPU_FAMILY_CI 120 /* Bonaire, Hawaii */
> +#define AMDGPU_FAMILY_CZ 135 /* Carrizo, Stoney */
> +#define AMDGPU_FAMILY_RV 142 /* Raven */
> +
> +static bool
> +is_deadlock_tests_enable(const struct amdgpu_gpu_info *gpu_info)
> +{
> + bool enable = true;
> + /*
> + * skip for the ASICs that don't support GPU reset.
> + */
> + if (gpu_info->family_id == AMDGPU_FAMILY_SI ||
> + gpu_info->family_id == AMDGPU_FAMILY_KV ||
> + gpu_info->family_id == AMDGPU_FAMILY_CZ ||
> + gpu_info->family_id == AMDGPU_FAMILY_RV) {
> + igt_info("\n\nGPU reset is not enabled for the ASIC, deadlock test skip\n");
> + enable = false;
> + }
> + return enable;
> +}
> +
> igt_main
> {
> amdgpu_device_handle device;
> @@ -34,6 +56,7 @@ igt_main
> r = setup_amdgpu_ip_blocks(major, minor, &gpu_info, device);
> igt_assert_eq(r, 0);
> asic_rings_readness(device, 1, arr_cap);
> + igt_skip_on(!is_deadlock_tests_enable(&gpu_info));
>
> }
> igt_describe("Test-GPU-reset-by-flooding-sdma-ring-with-jobs");
next prev parent reply other threads:[~2024-04-16 21:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-16 2:04 [PATCH i-g-t v2] tests/amdgpu: add check for deadlock test Jesse Zhang
2024-04-16 11:14 ` ✓ CI.xeBAT: success for tests/amdgpu: add check for deadlock test (rev2) Patchwork
2024-04-16 11:27 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-04-16 21:06 ` vitaly prosyak [this message]
2024-04-17 7:26 ` ✗ CI.xeFULL: " 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=59f370c6-7f84-4783-9ef7-4995acf8da9e@amd.com \
--to=vprosyak@amd.com \
--cc=alexander.deucher@amd.com \
--cc=christian.koenig@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jesse.zhang@amd.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=vitaly.prosyak@amd.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