From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/i915/gem_eio: Fix missing multiprocess allocator environment
Date: Mon, 4 Apr 2022 10:48:52 +0200 [thread overview]
Message-ID: <20220404084852.24975-1-zbigniew.kempczynski@intel.com> (raw)
On discrete we need to ensure that allocator is able to run in
multiprocess mode otherwise we encounter crashes.
Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/4928
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
tests/i915/gem_eio.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
index 39cd6a1deb..d9689534d5 100644
--- a/tests/i915/gem_eio.c
+++ b/tests/i915/gem_eio.c
@@ -1111,9 +1111,14 @@ igt_main
igt_display_require(&display, fd);
igt_display_require_output(&display);
+ intel_allocator_multiprocess_start();
}
igt_subtest("kms")
test_kms(fd, &display);
+
+ igt_fixture {
+ intel_allocator_multiprocess_stop();
+ }
}
}
--
2.32.0
next reply other threads:[~2022-04-04 8:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-04 8:48 Zbigniew Kempczyński [this message]
2022-04-04 9:27 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_eio: Fix missing multiprocess allocator environment Patchwork
2022-04-04 9:46 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2022-04-04 11:06 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220404084852.24975-1-zbigniew.kempczynski@intel.com \
--to=zbigniew.kempczynski@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.