From: Chris Wilson <chris@chris-wilson.co.uk>
To: intel-gfx@lists.freedesktop.org
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
Ben Widawsky <ben@bwidawsk.net>,
f@chad-versace.us, Arjan van de Ven <arjan@linux.intel.com>,
Ben Widawsky <benjamin.widawsky@intel.com>
Subject: Re: [PATCH 2/2] drm/i915: rc6 in sysfs
Date: Tue, 10 Apr 2012 10:42:42 +0100 [thread overview]
Message-ID: <1334050963_342611@CP5-2952> (raw)
In-Reply-To: <1332899982-16324-2-git-send-email-ben@bwidawsk.net>
On Tue, 27 Mar 2012 18:59:39 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> Merge rc6 information into the power group for our device. Until now the
> i915 driver has not had any sysfs entries (aside from the connector
> stuff enabled by drm core). Since it seems like we're likely to have
> more in the future I created a new file for sysfs stubs, as well as the
> rc6 sysfs functions which don't really belong elsewhere (perhaps
> i915_suspend, but most of the stuff is in intel_display,c).
>
> displays rc6 modes enabled (as a hex mask):
> cat /sys/class/drm/card0/power/rc6_enable
>
> displays #ms GPU has been in rc6 since boot:
> cat /sys/class/drm/card0/power/rc6
>
> displays #ms GPU has been in deep rc6 since boot:
> cat /sys/class/drm/card0/power/rc6p
>
> displays #ms GPU has been in deepest rc6 since boot:
> cat /sys/class/drm/card0/power/rc6pp
Last comments, I promise.
/sys/class/drm/card0/power/rc6_uptime_ms or
/sys/class/drm/card0/power/rc6_total[_ms] or
/sys/class/drm/card0/power/rc6_residency[_ms]
A plain (rc6, rc6p, rc6pp) is just too vague and so may conflict with a
future knob we wish to expose via sysfs.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
next prev parent reply other threads:[~2012-04-10 9:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-28 1:59 [PATCH 1/2] drm/i915: add rc6 residency times to debugfs Ben Widawsky
2012-03-28 1:59 ` [PATCH 2/2] drm/i915: rc6 in sysfs Ben Widawsky
2012-04-10 9:42 ` Chris Wilson [this message]
2012-03-28 1:59 ` [PATCH 1/3] build: make sure we have asprintf Ben Widawsky
2012-03-28 1:59 ` [PATCH 2/3] drm/i915: extract card getting Ben Widawsky
2012-03-28 1:59 ` [PATCH] tests: rc6 residency test Ben Widawsky
2012-03-28 2:31 ` Ben Widawsky
2012-04-10 9:52 ` [PATCH 1/2] drm/i915: add rc6 residency times to debugfs 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=1334050963_342611@CP5-2952 \
--to=chris@chris-wilson.co.uk \
--cc=arjan@linux.intel.com \
--cc=ben@bwidawsk.net \
--cc=benjamin.widawsky@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=f@chad-versace.us \
--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