[igt-dev] [PATCH i-g-t 3/5] tests/gem_exec_fence: Adopt to use allocator

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Aug 17 19:32:28 UTC 2021


On Mon, 16 Aug 2021 23:31:16 -0700, Zbigniew Kempczyński wrote:
>
> @@ -3162,6 +3262,7 @@ igt_main
>			igt_require(exec_has_fence_array(i915));
>			igt_assert(has_syncobj(i915));
>			igt_fork_hang_detector(i915);
> +			intel_allocator_multiprocess_start();
>		}
>
>		igt_subtest("invalid-fence-array")
> @@ -3195,6 +3296,7 @@ igt_main
>			test_syncobj_channel(i915);
>
>		igt_fixture {
> +			intel_allocator_multiprocess_stop();

Not all these functions bracketed by
intel_allocator_multiprocess_start/stop are forking, but as we have
discussed previously intel_allocator_multiprocess_start/stop probably has
no adverse effects even when we don't fork. Therefore this is:

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>


More information about the igt-dev mailing list