[PATCH i-g-t] tests/amd_deadlock: fix sdma error type
Jesse.zhang@amd.com
jesse.zhang at amd.com
Mon Sep 2 06:51:08 UTC 2024
Correct the bad error type for sdma bad length test.
Signed-off-by: Jesse Zhang <jesse.zhang at amd.com>
---
tests/amdgpu/amd_deadlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/amdgpu/amd_deadlock.c b/tests/amdgpu/amd_deadlock.c
index 5635d0982..696fac2eb 100644
--- a/tests/amdgpu/amd_deadlock.c
+++ b/tests/amdgpu/amd_deadlock.c
@@ -158,7 +158,7 @@ igt_main
igt_subtest_with_dynamic("amdgpu-deadlock-sdma-bad-length-test") {
if (arr_cap[AMD_IP_DMA]) {
igt_dynamic_f("amdgpu-deadlock-sdma-bad-length-test")
- bad_access_helper(device, CMD_STREAM_TRANS_BAD_MEM_ADDRESS,
+ bad_access_helper(device, CMD_STREAM_EXEC_INVALID_PACKET_LENGTH,
AMDGPU_HW_IP_DMA);
}
}
--
2.25.1
More information about the igt-dev
mailing list