[Intel-gfx] [PATCH] drm/i915: add rc6 residency times to debugfs

Eugeni Dodonov eugeni at dodonov.net
Fri Mar 23 17:43:22 CET 2012

On Thu, Mar 22, 2012 at 22:42, Ben Widawsky <ben at 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

But if it makes sense to include it into kernel as well, why not?

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>

Eugeni Dodonov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120323/33396c0c/attachment.html>

More information about the Intel-gfx mailing list