Commit 43e509f4 authored by Zbigniew Kempczyński's avatar Zbigniew Kempczyński
Browse files

tests/kms_concurrent: For i915 devices run allocator in multiprocess mode

Test calls igt_fork() so for i915 requires offset allocation arbitration
(allocator in multiprocess mode) especially when same drm fd is used
in children. Dedicated thread (intel_allocator_multiprocess_start())
is required to be started on the very beginning to handle offset
allocations as well as stopping it (intel_allocator_multiprocess_stop())
before test exits.
Signed-off-by: Zbigniew Kempczyński's avatarZbigniew Kempczyński <>
Cc: Luciano Coelho <>
Cc: Swati Sharma <>
Acked-by: Petri Latvala's avatarPetri Latvala <>
Tested-by: default avatarLuciano Coelho <>
parent a58b3785
Pipeline #591504 passed with stages
in 5 minutes and 31 seconds
......@@ -378,6 +378,8 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
igt_display_require(&data.display, data.drm_fd);
if (is_i915_device(data.drm_fd))
for_each_pipe_static(pipe) {
......@@ -386,6 +388,8 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
igt_fixture {
if (is_i915_device(data.drm_fd))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment