From: Andi Shyti <andi@etezian.org>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH i-g-t] kms_flip: Reduce hang tests to minimum duration
Date: Sat, 11 Apr 2020 01:33:23 +0300 [thread overview]
Message-ID: <20200410223323.GB264232@jack.zhora.eu> (raw)
In-Reply-To: <20200408102408.1959598-1-chris@chris-wilson.co.uk>
Hi Chris,
On Wed, Apr 08, 2020 at 11:24:08AM +0100, Chris Wilson wrote:
> Hang tests are slow since we must wait for the kernel to detect the GPU
> hang before it forcibly completes the execution and signals the fence.
> The flip is not allowed before the fence is signaled and so must wait.
> Our test is that the flip does eventually occur, we only need to do that
> once, and let the power of repeated runs across many machines weed out
> the corner cases.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
> tests/kms_flip.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/kms_flip.c b/tests/kms_flip.c
> index afaed69aa..4535ecc8b 100755
> --- a/tests/kms_flip.c
> +++ b/tests/kms_flip.c
> @@ -1546,8 +1546,8 @@ igt_main
> "flip-vs-wf_vblank" },
> { 30, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_BLOCK |
> TEST_CHECK_TS, "flip-vs-blocking-wf-vblank" },
> - { 30, TEST_FLIP | TEST_MODESET | TEST_HANG | TEST_NOEVENT, "flip-vs-modeset-vs-hang" },
> - { 30, TEST_FLIP | TEST_PAN | TEST_HANG, "flip-vs-panning-vs-hang" },
> + { 1, TEST_FLIP | TEST_MODESET | TEST_HANG | TEST_NOEVENT, "flip-vs-modeset-vs-hang" },
> + { 1, TEST_FLIP | TEST_PAN | TEST_HANG, "flip-vs-panning-vs-hang" },
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Andi
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2020-04-10 22:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-08 10:24 [igt-dev] [PATCH i-g-t] kms_flip: Reduce hang tests to minimum duration Chris Wilson
2020-04-08 12:05 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-04-08 20:34 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2020-04-10 22:33 ` Andi Shyti [this message]
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=20200410223323.GB264232@jack.zhora.eu \
--to=andi@etezian.org \
--cc=chris@chris-wilson.co.uk \
--cc=igt-dev@lists.freedesktop.org \
--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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox