From: Jesse Zhang <jesse.zhang@amd.com>
To: <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>,
Jesse Zhang <jesse.zhang@amd.com>
Subject: [PATCH i-g-t V2] tests/amd_deadlock: add bad memory test for compute
Date: Tue, 6 Aug 2024 15:06:34 +0800 [thread overview]
Message-ID: <20240806070634.2444558-1-jesse.zhang@amd.com> (raw)
To enhance the test, add bad memory test for compute ring.
v2: Replace dynamic subtests with igt_subtest (Kamil).
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
---
tests/amdgpu/amd_deadlock.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/amdgpu/amd_deadlock.c b/tests/amdgpu/amd_deadlock.c
index 01185bfd3..52ba08494 100644
--- a/tests/amdgpu/amd_deadlock.c
+++ b/tests/amdgpu/amd_deadlock.c
@@ -94,6 +94,13 @@ igt_main
}
}
+ igt_describe("Test-GPU-reset-by-access-compute-illegal-mem-addr");
+ igt_subtest("amdgpu-compute-illegal-mem-access") {
+ igt_skip_on_f(!arr_cap[AMD_IP_COMPUTE], "SKIP, compute ring don't support\n");
+ bad_access_helper(device, CMD_STREAM_TRANS_BAD_MEM_ADDRESS,
+ AMDGPU_HW_IP_COMPUTE);
+ }
+
igt_describe("Test-GPU-reset-by-flooding-compute-ring-with-jobs");
igt_subtest_with_dynamic("amdgpu-deadlock-compute") {
if (arr_cap[AMD_IP_COMPUTE]) {
--
2.25.1
next reply other threads:[~2024-08-06 7:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 7:06 Jesse Zhang [this message]
2024-08-06 7:48 ` ✗ CI.xeBAT: failure for tests/amd_deadlock: add bad memory test for compute Patchwork
2024-08-06 8:01 ` ✗ Fi.CI.BAT: " Patchwork
2024-08-06 9:09 ` ✗ 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=20240806070634.2444558-1-jesse.zhang@amd.com \
--to=jesse.zhang@amd.com \
--cc=alexander.deucher@amd.com \
--cc=christian.koenig@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--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