From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: igt-dev@lists.freedesktop.org, Daniel Vetter <daniel@ffwll.ch>
Subject: Re: [igt-dev] [PATCH i-g-t 2/5] tests/kms_setmode: Request the initial vbl count with RELATIVE instead of ABSOLUTE
Date: Fri, 8 Mar 2019 18:45:07 +0200 [thread overview]
Message-ID: <20190308164507.GU3888@intel.com> (raw)
In-Reply-To: <155199529401.27405.5855883981529801961@skylake-alporthouse-com>
On Thu, Mar 07, 2019 at 09:48:14PM +0000, Chris Wilson wrote:
> Quoting Ville Syrjala (2019-03-07 21:39:23)
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > Asking for the initial vblank count by specifying and absolute vblank count of 0
> > doesn't make much sense. Switch to a relative query instead.
> >
> > It doesn't look like we care about lining up on the first vblank boundary so
> > we can just drop the NEXTONMISS flag. Only the relative timestamps of the
> > events will matter.
> >
> > v2: Drop the NEXTONMISS (Daniel)
>
> No, this isn't about getting the current vblank, it's about aligning the
> test to the start of the next vblank period, so that is much less of a
> chance of that vblank happening during the setup. For which NEXTONMISS
> is essential.
That was my original assesment, but then I decided it wasn't needed
after all. Can't recall how I reached to that conclusion. I'll put
it back.
Hmm. If the test did '(now - last) / num_frames' it wouldn't matter
so much if missed a vblank or two. But I suppose that might hide
some of the jitter.
> You could look at the timestamp and say if within 1ms of
> the next vblank, defer? Wasting 8ms is a nuisance but a pittance
> compared to the ~2s runtime.
> -Chris
--
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-03-08 16:45 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-07 21:39 [igt-dev] [PATCH i-g-t 1/5] lib/debugfs: Fix wraparound handling for crc frame counter check Ville Syrjala
2019-03-07 21:39 ` [igt-dev] [PATCH i-g-t 2/5] tests/kms_setmode: Request the initial vbl count with RELATIVE instead of ABSOLUTE Ville Syrjala
2019-03-07 21:48 ` Chris Wilson
2019-03-08 16:45 ` Ville Syrjälä [this message]
2019-03-08 16:49 ` [igt-dev] [PATCH i-g-t v2 " Ville Syrjala
2019-03-07 21:39 ` [igt-dev] [PATCH i-g-t 3/5] tests/kms_flip: " Ville Syrjala
2019-03-07 21:49 ` Chris Wilson
2019-03-08 16:50 ` [igt-dev] [PATCH i-g-t v2 " Ville Syrjala
2019-03-08 17:14 ` Chris Wilson
2019-03-07 21:39 ` [igt-dev] [PATCH i-g-t 4/5] tests/kms_flip: Validate the vbl sequence numbers Ville Syrjala
2019-03-07 21:39 ` [igt-dev] [PATCH i-g-t 5/5] tests/kms_setmode: " Ville Syrjala
2019-03-07 21:51 ` Chris Wilson
2019-03-08 17:14 ` Chris Wilson
2019-03-07 22:03 ` [igt-dev] [PATCH i-g-t 1/5] lib/debugfs: Fix wraparound handling for crc frame counter check Chris Wilson
2019-03-07 23:43 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/5] " Patchwork
2019-03-08 2:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-03-09 1:15 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/5] lib/debugfs: Fix wraparound handling for crc frame counter check (rev3) Patchwork
2019-03-09 8:28 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20190308164507.GU3888@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=daniel@ffwll.ch \
--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.