From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>,
Chris Wilson <chris@chris-wilson.co.uk>,
Petri Latvala <petri.latvala@intel.com>,
intel-gfx@lists.freedesktop.org, daniel.vetter@ffwll.ch,
rodrigo.vivi@intel.com, paulo.r.zanoni@intel.com
Subject: Re: [PATCH v3] Idleness DRRS test
Date: Tue, 29 Nov 2016 15:06:17 +0530 [thread overview]
Message-ID: <5909091a-a730-8887-cc27-a314b0f2e64d@intel.com> (raw)
In-Reply-To: <20161115085846.vl2z7xv34vnr4t3p@phenom.ffwll.local>
As per discussion with Chris, on IRC following were the suggestions :
- Chris has suggested an event based approach to avoid using pthreads.
- Avoid using kernel-specific info like transitional delays and instead
use either polling or wait-for-event approach. Need to focus on
user-observable behavior rather than the kernel standpoint.
- Check for transition latency is unnecessary in this test, as this is
more of a performance/power benchmark.
I will try the event based mechanism to do away with pthreads, and
incorporate these suggestions in the next patch-set.
-Ankit
On 11/15/2016 2:28 PM, Daniel Vetter wrote:
> On Mon, Nov 14, 2016 at 01:06:09PM +0000, Chris Wilson wrote:
>> On Mon, Nov 14, 2016 at 02:44:35PM +0200, Petri Latvala wrote:
>>> Chris, happy with this revision?
>> Me? No. It still uses a thread instead of events, so I don't think it
>> qualifies as a good example for anyone else wanting to do the same thing.
>> Lots of hardcoded expectations (specific sleep patterns, rather than
>> waiting for the kernel to change with a timeout for failure). It doesn't
>> check all the possible ways that the output maybe changed (and if they
>> are irrelevent, that too also needs to be tested to establish expected
>> behaviour and catch future regressions). Important question, how is
>> userspace expected to know that the vrefresh changed? How do get around
>> that userspace is expecting a fixed vblank frequency?
> for display power testing we already have the kms_frontbuffer_tracking
> testcase, adding a DRRS variants to that one should resolve all this.
>
> And then kms_drrs would be empty, except when we (if ever) do explicit
> drrs through modeset requests. And that would just be checking that the
> observed timings match the requested timings.
> -Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2016-11-29 9:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-31 8:16 [RFC] Idleness DRRS test Nautiyal Ankit
2016-09-07 14:53 ` Marius Vlad
2016-09-23 12:07 ` Nautiyal, Ankit K
2016-09-23 12:40 ` [PATCH v2] " Nautiyal Ankit
2016-09-23 13:18 ` Chris Wilson
2016-09-27 11:19 ` Nautiyal, Ankit K
2016-10-21 3:52 ` [PATCH v3] " Nautiyal Ankit
2016-11-14 12:44 ` Petri Latvala
2016-11-14 13:06 ` Chris Wilson
2016-11-15 8:58 ` Daniel Vetter
2016-11-29 9:36 ` Nautiyal, Ankit K [this message]
2016-11-30 9:22 ` Daniel Vetter
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=5909091a-a730-8887-cc27-a314b0f2e64d@intel.com \
--to=ankit.k.nautiyal@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=daniel.vetter@ffwll.ch \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=paulo.r.zanoni@intel.com \
--cc=petri.latvala@intel.com \
--cc=rodrigo.vivi@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.