[igt-dev] [PATCH i-g-t v2] tests/i915/gem_ctx_persistence: modified test_saturated_hostile subtest

Dixit, Ashutosh ashutosh.dixit at intel.com
Thu Sep 9 03:44:22 UTC 2021


On Sat, 04 Sep 2021 10:09:32 -0700, Arjun Melkaveri wrote:
>
> @@ -1310,7 +1312,8 @@ igt_main
>		igt_subtest_with_dynamic_f("saturated-hostile") {
>			for_each_ctx_engine(i915, ctx, e) {
>				igt_dynamic_f("%s", e->name)
> -					test_saturated_hostile(i915, ctx, e);
> +					do_test(test_saturated_hostile, i915,
> +						&ctx->cfg, e->flags, e->name);

I think I am missing something but I am trying to understand how does this
patch solves the failure in Gitlab #1551
(https://gitlab.freedesktop.org/drm/intel/-/issues/1551). Could you
explain:

(a) the cause of the timeout that is being seen in Gitlab #1551, and
(b) how this patch (using do_test) resolves that.

Thanks.


More information about the igt-dev mailing list