Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/amd_dispatch: fix KGQ hang test
@ 2024-08-08  8:40 Jesse Zhang
  2024-08-08  9:42 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jesse Zhang @ 2024-08-08  8:40 UTC (permalink / raw)
  To: igt-dev
  Cc: Vitaly Prosyak, Alex Deucher, Christian Koenig, Jesse Zhang,
	Kamil Konieczny

Set specific error type for KGQ hang test.

Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>

Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
---
 tests/amdgpu/amd_dispatch.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/amdgpu/amd_dispatch.c b/tests/amdgpu/amd_dispatch.c
index 2c17e90ab..76b62128d 100644
--- a/tests/amdgpu/amd_dispatch.c
+++ b/tests/amdgpu/amd_dispatch.c
@@ -26,9 +26,9 @@ amdgpu_dispatch_hang_slow_compute(amdgpu_device_handle device_handle)
 }
 
 static void
-amdgpu_dispatch_hang_gfx(amdgpu_device_handle device_handle)
+amdgpu_dispatch_hang_gfx(amdgpu_device_handle device_handle, enum cmd_error_type error)
 {
-	amdgpu_gfx_dispatch_test(device_handle, AMDGPU_HW_IP_GFX, 1);
+	amdgpu_gfx_dispatch_test(device_handle, AMDGPU_HW_IP_GFX, error);
 }
 
 static void
@@ -118,7 +118,7 @@ igt_main
 	igt_subtest_with_dynamic("amdgpu-dispatch-hang-test-gfx-with-IP-GFX") {
 		if (arr_cap[AMD_IP_GFX]) {
 			igt_dynamic_f("amdgpu-dispatch-hang-test-gfx")
-			amdgpu_dispatch_hang_gfx(device);
+			amdgpu_dispatch_hang_gfx(device, BACKEND_SE_GC_SHADER_INVALID_SHADER);
 		}
 	}
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-08 17:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08  8:40 [PATCH i-g-t] tests/amd_dispatch: fix KGQ hang test Jesse Zhang
2024-08-08  9:42 ` ✓ CI.xeBAT: success for " Patchwork
2024-08-08  9:53 ` ✓ Fi.CI.BAT: " Patchwork
2024-08-08 11:41 ` ✗ CI.xeFULL: failure " Patchwork
2024-08-08 12:37 ` ✗ Fi.CI.IGT: " Patchwork
2024-08-08 17:27 ` [PATCH i-g-t] " vitaly prosyak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox