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

vitaly prosyak vprosyak at amd.com
Mon Jul 21 18:27:42 UTC 2025


Reviewed-by: Vitaly Prosyak  <vitaly.prosyak at amd.com>

On 2025-07-17 11:46, Alex Deucher wrote:
> 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 {


More information about the igt-dev mailing list