All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Paulo Zanoni <przanoni@gmail.com>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
	Thomas Wood <thomas.wood@intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH i-g-t 4/8] kms_frontbuffer_tracking: Allow to skip suspend_resume sub test case.
Date: Thu, 5 Nov 2015 22:40:17 +0200	[thread overview]
Message-ID: <20151105204017.GM4437@intel.com> (raw)
In-Reply-To: <CA+gsUGTDRTchdWPtVWyw5NEUex9GxcLr=YraiXQtZjrtJM1TJA@mail.gmail.com>

On Thu, Nov 05, 2015 at 06:34:07PM -0200, Paulo Zanoni wrote:
> 2015-11-05 16:53 GMT-02:00 Rodrigo Vivi <rodrigo.vivi@intel.com>:
> > There are few platforms with other suspend resume bugs that breaks
> > the full execution. So let's provide a way to skip suspend resume case.
> 
> Well, I carry a local patch that completely disables suspend subtests
> for the tests that I usually run, so I really understand your pain.
> Suspend subtests take a long time to run, and they usually don't work
> on some of the preproduction machines I still use.
> 
> But since this problem is not specific to kms_frontbuffer_tracking,
> maybe we could adopt an igt-wide solution here? Thomas, any idea here?

-x suspend is what I tell piglit on one hsw I have here which hangs on s3.

> 
> >
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > ---
> >  tests/kms_frontbuffer_tracking.c | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
> > diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
> > index d879493..1cc1c9e 100644
> > --- a/tests/kms_frontbuffer_tracking.c
> > +++ b/tests/kms_frontbuffer_tracking.c
> > @@ -237,6 +237,7 @@ struct {
> >         bool fbc_check_compression;
> >         bool fbc_check_last_action;
> >         bool no_edp;
> > +       bool no_suspend;
> >         bool small_modes;
> >         bool show_hidden;
> >         int step;
> > @@ -250,6 +251,7 @@ struct {
> >         .fbc_check_compression = true,
> >         .fbc_check_last_action = true,
> >         .no_edp = false,
> > +       .no_suspend = false,
> >         .small_modes = false,
> >         .show_hidden= false,
> >         .step = 0,
> > @@ -2735,6 +2737,8 @@ static void suspend_subtest(const struct test_mode *t)
> >  {
> >         struct modeset_params *params = pick_params(t);
> >
> > +       igt_skip_on(opt.no_suspend);
> > +
> >         prepare_subtest(t, NULL);
> >         sleep(5);
> >         igt_system_suspend_autoresume();
> > @@ -2950,6 +2954,9 @@ static int opt_handler(int option, int option_index, void *data)
> >         case 'e':
> >                 opt.no_edp = true;
> >                 break;
> > +       case 'r':
> > +               opt.no_suspend = true;
> > +               break;
> >         case 'm':
> >                 opt.small_modes = true;
> >                 break;
> > @@ -2992,6 +2999,7 @@ const char *help_str =
> >  "  --no-fbc-compression-check  Don't check for the FBC compression status\n"
> >  "  --no-fbc-action-check       Don't check for the FBC last action\n"
> >  "  --no-edp                    Don't use eDP monitors\n"
> > +"  --no-suspend                Don't run Suspend/Resume test cases\n"
> >  "  --use-small-modes           Use smaller resolutions for the modes\n"
> >  "  --show-hidden               Show hidden subtests\n"
> >  "  --step                      Stop on each step so you can check the screen\n"
> > @@ -3117,6 +3125,7 @@ int main(int argc, char *argv[])
> >                 { "no-fbc-compression-check", 0, 0, 'o'},
> >                 { "no-fbc-action-check",      0, 0, 'a'},
> >                 { "no-edp",                   0, 0, 'e'},
> > +               { "no-suspend",               0, 0, 'r'},
> >                 { "use-small-modes",          0, 0, 'm'},
> >                 { "show-hidden",              0, 0, 'i'},
> >                 { "step",                     0, 0, 't'},
> > --
> > 2.4.3
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 
> 
> 
> -- 
> Paulo Zanoni
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-11-05 20:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 18:53 [PATCH i-g-t 1/8] kms_frontbuffer_tracking: Increase the time we wait for PSR Rodrigo Vivi
2015-11-05 18:53 ` [PATCH i-g-t 2/8] kms_frontbuffer_tracking: Skip on unreliable CRC Rodrigo Vivi
2015-11-05 20:30   ` Paulo Zanoni
2015-11-18 10:27     ` Daniel Vetter
2015-12-02  1:10     ` Rodrigo Vivi
2015-12-03  7:50   ` Daniel Vetter
2015-11-05 18:53 ` [PATCH i-g-t 3/8] kms_frontbuffer_tracking: Allow pipe crc or sink crc individually Rodrigo Vivi
2015-11-05 21:00   ` Paulo Zanoni
2015-11-05 18:53 ` [PATCH i-g-t 4/8] kms_frontbuffer_tracking: Allow to skip suspend_resume sub test case Rodrigo Vivi
2015-11-05 20:34   ` Paulo Zanoni
2015-11-05 20:40     ` Ville Syrjälä [this message]
2015-11-09 13:52       ` Paulo Zanoni
2015-11-18 10:31         ` Daniel Vetter
2015-11-05 18:53 ` [PATCH i-g-t 5/8] kms_frontbuffer_tracking: Add option to allow running tescases with PSR disabled Rodrigo Vivi
2015-11-05 20:44   ` Paulo Zanoni
2015-11-05 18:53 ` [PATCH i-g-t 6/8] kms_frontbuffer_tracking: Add option to allow running tescases with FBC disabled Rodrigo Vivi
2015-11-05 18:53 ` [PATCH i-g-t 7/8] kms_psr_sink_crc: Fix no-psr option Rodrigo Vivi
2015-11-05 18:53 ` [PATCH i-g-t 8/8] kms_psr_sink_crc: Add suspend/resume sub test Rodrigo Vivi
2015-11-05 20:11 ` [PATCH i-g-t 1/8] kms_frontbuffer_tracking: Increase the time we wait for PSR Paulo Zanoni
2015-12-02  1:19   ` Rodrigo Vivi

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=20151105204017.GM4437@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=przanoni@gmail.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=thomas.wood@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.