[PATCH] lib/amdgpu: reduce the job count for deadlock helpers

Alex Deucher alexander.deucher at amd.com
Thu Jul 17 15:46:17 UTC 2025


The current limit (200), takes significantly longer with
the improved reset code which the new code just kills the
bad job, not all jobs in the queue.  This leads to the
deadlock tests taking longer than expected and getting
killed by the CI systems for taking too long.  Reduce
the limit to 20.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 lib/amdgpu/amd_deadlock_helpers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/amdgpu/amd_deadlock_helpers.c b/lib/amdgpu/amd_deadlock_helpers.c
index 49582b6c9..84635e043 100644
--- a/lib/amdgpu/amd_deadlock_helpers.c
+++ b/lib/amdgpu/amd_deadlock_helpers.c
@@ -15,7 +15,7 @@
 #include "amd_deadlock_helpers.h"
 #include "lib/amdgpu/amd_command_submission.h"
 
-#define MAX_JOB_COUNT 200
+#define MAX_JOB_COUNT 20
 
 #define MEMORY_OFFSET 256 /* wait for this memory to change */
 struct thread_param {
-- 
2.50.1



More information about the igt-dev mailing list