From: Ben Widawsky <ben@bwidawsk.net>
To: Eugeni Dodonov <eugeni@dodonov.net>
Cc: intel-gfx@lists.freedesktop.org,
Arjan van de Ven <arjan@linux.intel.com>
Subject: Re: [PATCH] drm/i915: add rc6 residency times to debugfs
Date: Fri, 23 Mar 2012 11:44:10 -0700 [thread overview]
Message-ID: <20120323114410.4259f450@bwidawsk.net> (raw)
In-Reply-To: <CAC7LmntdEXHPO80t1Rd562+=snfAufPgbt5a2Mh4UnS5_b2zuw@mail.gmail.com>
On Fri, 23 Mar 2012 13:43:22 -0300
Eugeni Dodonov <eugeni@dodonov.net> wrote:
> On Thu, Mar 22, 2012 at 22:42, Ben Widawsky <ben@bwidawsk.net> wrote:
>
> > RC6 residency should be in intervals of 1.28us, and the counter
> > wraps. Here is an example using awk to get the RC6 and RC6+
> > residency in seconds, since boot.
> >
> > cat /sys/kernel/debug/dri/0/i915_drpc_info | grep residency | awk
> > -F':' -F' ' '{print $5 * 1.28 / 1000000}'
> >
> > This is primarily for QA, but has other applications as well.
> >
>
> Note that we already have this in intel_reg_dumper as well, since
> http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/commit/?id=47a5bc505cb972cc94f1fbd9882d4e5c2e72ac43
> .
>
> But if it makes sense to include it into kernel as well, why not?
>
Yeah, reg dumper does a whole lot of other stuff in addition to this.
I'd agree it wouldn't be worth adding a new debugfs entry though since
reg dumper does it (obviously intel_reg_read does it too :)).
> Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
>
next prev parent reply other threads:[~2012-03-23 18:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 1:42 [PATCH] drm/i915: add rc6 residency times to debugfs Ben Widawsky
2012-03-23 16:43 ` Eugeni Dodonov
2012-03-23 18:44 ` Ben Widawsky [this message]
2012-03-24 14:58 ` Daniel Vetter
2012-03-25 0:01 ` 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=20120323114410.4259f450@bwidawsk.net \
--to=ben@bwidawsk.net \
--cc=arjan@linux.intel.com \
--cc=eugeni@dodonov.net \
--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