[PATCH] tests/intel/gem_exec_balancer: Decrease required load in `full` test

Krzysztof Karas krzysztof.karas at intel.com
Thu Dec 19 10:29:53 UTC 2024


Hi Sebastian,

On 2024-12-17 at 15:06:41 +0000, Sebastian Brzezinka wrote:
> Adjust the minimal load in the `full` test. It's a minor tolerance
> issue expected 90% got 86.6%.
> 
> Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13003
>
Andi already commented on some formatting improvements.
Apart from that LGTM.

Reviewed-by: Krzysztof Karas <krzysztof.karas at intel.com>

Krzysztof
> Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka at intel.com>
> ---
>  tests/intel/gem_exec_balancer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/intel/gem_exec_balancer.c b/tests/intel/gem_exec_balancer.c
> index c3f0c938b..46ea19a2a 100644
> --- a/tests/intel/gem_exec_balancer.c
> +++ b/tests/intel/gem_exec_balancer.c
> @@ -1815,7 +1815,7 @@ static void full(int i915, unsigned int flags)
>  
>  		free(ci);
>  
> -		igt_assert_f(load > 0.90,
> +		igt_assert_f(load > 0.85,
>  			     "minimum load for %d x class:%d was found to be only %.1f%% busy\n",
>  			     count, class, load*100);
>  		gem_quiescent_gpu(i915);
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list