[PATCH] tests/amd_queue_reset: use the AMDGPU_RESET_TYPE_PER_QUEUE flag unconditionally
Zhang, Jesse(Jie)
Jesse.Zhang at amd.com
Thu Apr 24 01:19:43 UTC 2025
[AMD Official Use Only - AMD Internal Distribution Only]
This patch is Reviewed-by: "Jesse.zhang at amd.com"
-----Original Message-----
From: vitaly.prosyak at amd.com <vitaly.prosyak at amd.com>
Sent: Wednesday, April 23, 2025 7:58 AM
To: igt-dev at lists.freedesktop.org
Cc: Prosyak, Vitaly <Vitaly.Prosyak at amd.com>; Zhang, Jesse(Jie) <Jesse.Zhang at amd.com>
Subject: [PATCH] tests/amd_queue_reset: use the AMDGPU_RESET_TYPE_PER_QUEUE flag unconditionally
From: Vitaly Prosyak <vitaly.prosyak at amd.com>
This flag is supported by both the amdgpu driver and the firmware in many ASIC's.
Cc: Jesse Zhang <jesse.zhang at amd.com>
Signed-off-by: Vitaly Prosyak <vitaly.prosyak at amd.com>
---
tests/amdgpu/amd_queue_reset.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/amdgpu/amd_queue_reset.c b/tests/amdgpu/amd_queue_reset.c index a7aca4171..83dabf775 100644
--- a/tests/amdgpu/amd_queue_reset.c
+++ b/tests/amdgpu/amd_queue_reset.c
@@ -1237,9 +1237,7 @@ igt_main
igt_describe("Stressful-and-multiple-cs-of-bad-and-good-length-operations-using-multiple-processes");
igt_subtest_with_dynamic_f("amdgpu-%s-%s", ip_tests[i] == AMD_IP_COMPUTE ? "COMPUTE":
ip_tests[i] == AMD_IP_GFX ? "GFX" : "SDMA", it->name) {
- reset = (ip_tests[i] != AMD_IP_DMA) && (it->test == CMD_STREAM_EXEC_INVALID_PACKET_LENGTH) ?
- AMDGPU_RESET_TYPE_PER_QUEUE : AMDGPU_RESET_TYPE_PER_PIPE;
-
+ reset = AMDGPU_RESET_TYPE_PER_QUEUE;
if (arr_cap[ip_tests[i]] && is_reset_enable(ip_tests[i], reset, &pci) &&
get_next_rings(&ring_id_good, &ring_id_bad, info[0].available_rings,
info[i].available_rings, ip_background != ip_tests[i], &ring_id_job_good, &ring_id_job_bad)) {
--
2.34.1
More information about the igt-dev
mailing list