From: Chris Wilson <chris@chris-wilson.co.uk> To: intel-gfx@lists.freedesktop.org Subject: [PATCH i-g-t 2/3] i915/gem_exec_fence: Allow GPU resets during hang checks Date: Fri, 8 Nov 2019 14:22:49 +0000 [thread overview] Message-ID: <20191108142250.22709-2-chris@chris-wilson.co.uk> (raw) In-Reply-To: <20191108142250.22709-1-chris@chris-wilson.co.uk> The pair of *-hang-all will generate sufficient hangs for the kernel to ban the client. This is unfortunate as it means all further tests are skipped. Ask nicely not to be banned. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> --- tests/i915/gem_exec_fence.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c index d2d26a28b..4e8bdd7b3 100644 --- a/tests/i915/gem_exec_fence.c +++ b/tests/i915/gem_exec_fence.c @@ -1522,6 +1522,8 @@ igt_main } igt_subtest_group { + igt_hang_t hang; + igt_fixture { igt_fork_hang_detector(i915); } @@ -1533,12 +1535,17 @@ igt_main igt_fixture { igt_stop_hang_detector(); + hang = igt_allow_hang(i915, 0, 0); } igt_subtest("busy-hang-all") test_fence_busy_all(i915, HANG); igt_subtest("wait-hang-all") test_fence_busy_all(i915, WAIT | HANG); + + igt_fixture { + igt_disallow_hang(i915, hang); + } } for (e = intel_execution_engines; e->name; e++) { -- 2.24.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
WARNING: multiple messages have this Message-ID (diff)
From: Chris Wilson <chris@chris-wilson.co.uk> To: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] [PATCH i-g-t 2/3] i915/gem_exec_fence: Allow GPU resets during hang checks Date: Fri, 8 Nov 2019 14:22:49 +0000 [thread overview] Message-ID: <20191108142250.22709-2-chris@chris-wilson.co.uk> (raw) Message-ID: <20191108142249.ANMKPyaMEtrvpFqn8eo_lv3ej8J4kV3Ucr7brmyhFjU@z> (raw) In-Reply-To: <20191108142250.22709-1-chris@chris-wilson.co.uk> The pair of *-hang-all will generate sufficient hangs for the kernel to ban the client. This is unfortunate as it means all further tests are skipped. Ask nicely not to be banned. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> --- tests/i915/gem_exec_fence.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c index d2d26a28b..4e8bdd7b3 100644 --- a/tests/i915/gem_exec_fence.c +++ b/tests/i915/gem_exec_fence.c @@ -1522,6 +1522,8 @@ igt_main } igt_subtest_group { + igt_hang_t hang; + igt_fixture { igt_fork_hang_detector(i915); } @@ -1533,12 +1535,17 @@ igt_main igt_fixture { igt_stop_hang_detector(); + hang = igt_allow_hang(i915, 0, 0); } igt_subtest("busy-hang-all") test_fence_busy_all(i915, HANG); igt_subtest("wait-hang-all") test_fence_busy_all(i915, WAIT | HANG); + + igt_fixture { + igt_disallow_hang(i915, hang); + } } for (e = intel_execution_engines; e->name; e++) { -- 2.24.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-11-08 14:23 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-08 14:22 [PATCH i-g-t 1/3] i915/gem_exec_fence: KMS master is not required Chris Wilson 2019-11-08 14:22 ` [Intel-gfx] " Chris Wilson 2019-11-08 14:22 ` Chris Wilson [this message] 2019-11-08 14:22 ` [Intel-gfx] [PATCH i-g-t 2/3] i915/gem_exec_fence: Allow GPU resets during hang checks Chris Wilson 2019-11-13 10:51 ` Tvrtko Ursulin 2019-11-13 10:51 ` [Intel-gfx] " Tvrtko Ursulin 2019-11-08 14:22 ` [PATCH i-g-t 3/3] i915/gem_exec_fence: Avoid long preempt-off sleeps Chris Wilson 2019-11-08 14:22 ` [Intel-gfx] " Chris Wilson 2019-11-13 10:54 ` Tvrtko Ursulin 2019-11-13 10:54 ` [Intel-gfx] " Tvrtko Ursulin 2019-11-13 11:06 ` Chris Wilson 2019-11-13 11:06 ` [Intel-gfx] " Chris Wilson 2019-11-08 15:07 ` ✗ Fi.CI.BAT: failure for series starting with [1/3] i915/gem_exec_fence: KMS master is not required Patchwork 2019-11-08 15:07 ` [Intel-gfx] " Patchwork 2019-11-13 10:47 ` [PATCH i-g-t 1/3] " Tvrtko Ursulin 2019-11-13 10:47 ` [Intel-gfx] " Tvrtko Ursulin
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=20191108142250.22709-2-chris@chris-wilson.co.uk \ --to=chris@chris-wilson.co.uk \ --cc=intel-gfx@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: linkBe 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.