All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Alexandra Yates <alexandra.yates@linux.intel.com>,
	intel-gfx@lists.freedesktop.org, rodrigo.vivi@intel.com,
	nivedita.swaminathan@intel.com, joe.konno@intel.com
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: Re: [PATCH 0/5] PowerManagement Toggle for PowerTOP
Date: Wed, 13 Apr 2016 13:24:11 +0300	[thread overview]
Message-ID: <871t69u7qs.fsf@intel.com> (raw)
In-Reply-To: <1460488728-23319-1-git-send-email-alexandra.yates@linux.intel.com>

On Tue, 12 Apr 2016, Alexandra Yates <alexandra.yates@linux.intel.com> wrote:
> Permits the user to identify and toggle values for PSR, FBC, RC6,
> DRRS, and IPS under /sys/class/drm/card0/power/.  By enabling these
> features I'm looking to empower our customers, such as, power team,
> chrome OS, and platform integration teams to debug graphics power
> management features.

Most of these features have module parameters to enable or disable them,
with platform specific defaults. We enable and support each feature on
each platform where we have confidence it actually works. Conversely, we
don't support the features on platforms where we know they don't work,
and are therefore disabled by default. To underline this, the module
parameters are labeled "unsafe", and setting them taints the kernel. You
change the defaults, you're on your own.

If you google for the i915 module parameters, you'll find plenty of
pages recommending the users to set the various module parameters,
typically to gain power savings. It seems to me more often than not
people don't understand what they're doing when they enable the
features. It's not uncommon to see dmesgs in bug reports with all kinds
of module parameters set, regardless of whether they are relevant on the
platform in question or not, and it's not uncommon for the module
parameters to be the reason for the issue the bug reporter is seeing.

With this background, I am feeling rather hesitant about exposing all of
these features as an ABI through the sysfs. I fear the end result is
going to be PowerTOP recommending users to change the settings, leading
to more bug reports. I understand your intention is to help developers,
but from the ABI perspective there's really no such thing as "sysfs for
developers only". I'd probably feel less uneasy about having these in
the debugfs, because that sets the expectations right.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2016-04-13 10:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gfx-top>
2016-04-12 19:18 ` [PATCH 0/5] PowerManagement Toggle for PowerTOP Alexandra Yates
2016-04-12 19:18   ` [PATCH 1/5] drm/i915: Add sys PSR toggle interface Alexandra Yates
2016-04-13 13:26     ` Zanoni, Paulo R
2016-04-13 20:43       ` Vivi, Rodrigo
2016-04-14  7:58         ` Jani Nikula
2016-04-12 19:18   ` [PATCH 2/5] drm/i915: Add sys FBC " Alexandra Yates
2016-04-13 12:48     ` Zanoni, Paulo R
2016-04-12 19:18   ` [PATCH 3/5] drm/i915: Add sys RC6 " Alexandra Yates
2016-04-12 19:18   ` [PATCH 4/5] drm/i915: Add sys drrs " Alexandra Yates
2016-04-12 19:18   ` [PATCH 5/5] drm-i915: Add sys IPS " Alexandra Yates
2016-04-13 10:21   ` [PATCH 0/5] PowerManagement Toggle for PowerTOP Daniel Vetter
2016-04-13 10:24   ` Jani Nikula [this message]
2016-04-13 12:59   ` Zanoni, Paulo R
2016-04-13 14:50     ` Daniel Vetter
2016-04-13 20:38       ` Vivi, Rodrigo
2016-04-13 20:46         ` Daniel Vetter
2016-04-13 20:49           ` Daniel Vetter
2016-04-13 22:06           ` Vivi, Rodrigo
2016-04-14  9:48             ` Daniel Vetter
2016-04-14 17:17               ` Alexandra Yates
2016-04-15 18:12               ` Vivi, Rodrigo
2016-04-20 12:44                 ` Daniel Vetter
2016-04-13 15:25 ` ✗ Fi.CI.BAT: failure for series starting with [1/5] drm/i915: Add sys PSR toggle interface 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=871t69u7qs.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=alexandra.yates@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=joe.konno@intel.com \
    --cc=nivedita.swaminathan@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.