All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Sarvela <tomi.p.sarvela@intel.com>
To: Marius Vlad <marius.c.vlad@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 1/2] lib/igt_aux: Half the timeout for suspend to RAM and a third for suspend to disk.
Date: Thu, 21 Apr 2016 10:54:29 +0300	[thread overview]
Message-ID: <1956726.lEUizFvdN0@fractal> (raw)
In-Reply-To: <1461174597-7722-1-git-send-email-marius.c.vlad@intel.com>

Fi CI has ran with this patch approx 2 weeks at January.

All platforms acted the same with or without patch.

Tomi


On Wednesday 20 April 2016 20:49:56 Marius Vlad wrote:
> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
> ---
>  lib/igt_aux.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/lib/igt_aux.c b/lib/igt_aux.c
> index c32569f..fe18365 100644
> --- a/lib/igt_aux.c
> +++ b/lib/igt_aux.c
> @@ -671,9 +671,9 @@ void igt_system_suspend_autoresume(void)
>  	igt_skip_on_simulation();
> 
>  	/* skip if system doesn't support suspend-to-mem */
> -	igt_require(system("rtcwake -n -s 30 -m mem" SQUELCH) == 0);
> +	igt_require(system("rtcwake -n -s 15 -m mem" SQUELCH) == 0);
> 
> -	igt_assert_f(system("rtcwake -s 30 -m mem") == 0,
> +	igt_assert_f(system("rtcwake -s 15 -m mem") == 0,
>  		     "This failure means that something is wrong with the "
>  		     "rtcwake tool or how your distro is set up. This is not "
>  		     "a i915.ko or i-g-t bug.\n");
> @@ -698,12 +698,12 @@ void igt_system_hibernate_autoresume(void)
>  	igt_skip_on_simulation();
> 
>  	/* skip if system doesn't support suspend-to-disk */
> -	igt_require(system("rtcwake -n -s 90 -m disk" SQUELCH) == 0);
> +	igt_require(system("rtcwake -n -s 30 -m disk" SQUELCH) == 0);
> 
>  	/* The timeout might need to be adjusted if hibernation takes too long
>  	 * or if we have to wait excessively long before resume
>  	 */
> -	igt_assert_f(system("rtcwake -s 90 -m disk") == 0,
> +	igt_assert_f(system("rtcwake -s 30 -m disk") == 0,
>  		     "This failure means that something is wrong with the "
>  		     "rtcwake tool or how your distro is set up. This is not "
>  		     "a i915.ko or i-g-t bug.\n");

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      parent reply	other threads:[~2016-04-21  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 17:49 [PATCH i-g-t 1/2] lib/igt_aux: Half the timeout for suspend to RAM and a third for suspend to disk Marius Vlad
2016-04-20 17:49 ` [PATCH i-g-t 2/2] tests/kms_flip: Half the duration time for basic-*vs-modeset/flip tests Marius Vlad
2016-04-21  9:23   ` Daniel Vetter
2016-04-21 10:08     ` Marius Vlad
2016-04-21  7:54 ` Tomi Sarvela [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=1956726.lEUizFvdN0@fractal \
    --to=tomi.p.sarvela@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=marius.c.vlad@intel.com \
    /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.