[igt-dev] [PATCH i-g-t] tests/gem_exercise_blt: Don't allow hangs

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Wed Mar 1 12:25:33 UTC 2023


On Wed, Mar 01, 2023 at 01:09:05PM +0100, Karolina Stolarek wrote:
> Hangs in this test are undesirable, so don't allow them.
> 
> Signed-off-by: Karolina Stolarek <karolina.stolarek at intel.com>

lgtm:

Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>

--
Zbigniew

> ---
>  tests/i915/gem_exercise_blt.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/tests/i915/gem_exercise_blt.c b/tests/i915/gem_exercise_blt.c
> index 02c54f85..fb11fb92 100644
> --- a/tests/i915/gem_exercise_blt.c
> +++ b/tests/i915/gem_exercise_blt.c
> @@ -353,7 +353,6 @@ igt_main_args("b:pst:W:H:", NULL, help_str, opt_handler, NULL)
>  	struct igt_collection *set;
>  	const intel_ctx_t *ctx;
>  	int i915;
> -	igt_hang_t hang;
>  
>  	igt_fixture {
>  		i915 = drm_open_driver(DRIVER_INTEL);
> @@ -369,7 +368,6 @@ igt_main_args("b:pst:W:H:", NULL, help_str, opt_handler, NULL)
>  					    I915_SYSTEM_MEMORY,
>  					    I915_DEVICE_MEMORY);
>  		ctx = intel_ctx_create_all_physical(i915);
> -		hang = igt_allow_hang(i915, ctx->id, 0);
>  	}
>  
>  	igt_describe("Check fast-copy blit");
> @@ -383,7 +381,6 @@ igt_main_args("b:pst:W:H:", NULL, help_str, opt_handler, NULL)
>  	}
>  
>  	igt_fixture {
> -		igt_disallow_hang(i915, hang);
>  		close(i915);
>  	}
>  }
> -- 
> 2.25.1
> 


More information about the igt-dev mailing list