public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: myungjoo.ham@gmail.com
Cc: Nishanth Menon <nm@ti.com>, Len Brown <len.brown@intel.com>,
	Kevin Hilman <khilman@deeprootsystems.com>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	linux-pm@lists.linux-foundation.org
Subject: Re: [RFC PATCH] PM: Introduce generic DVFS framework with device-specific OPPs
Date: Thu, 28 Apr 2011 21:19:05 +0200	[thread overview]
Message-ID: <201104282119.05905.rjw@sisk.pl> (raw)
In-Reply-To: <BANLkTi==5zpS4=5zstYBC3rNX4-j2-3zDA@mail.gmail.com>

On Thursday, April 28, 2011, MyungJoo Ham wrote:
> On Wed, Apr 27, 2011 at 10:46 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> > On Wednesday, April 27, 2011, MyungJoo Ham wrote:
> >> Hello,
...
> >> Anyway, this happens with drivers/cpufreq also. We have been testing
> >> "tickling" associated with drivers/cpufreq/cpufreq.c. This has been
> >> reduced user response time significantly removing the need for tuning
> >> the threshold values.
> >
> > I think I understand the problem, but I'm not sure if there's a clean way
> > to trigger the "tickle" from the kernel level.
> 
> I'm considering the followings (and they are not mutually exclusive).
> How about them?
> 1. (the way that we've been using) Add a tickle call to input events
> at board file.

Well, first, the input events may not be the only user of that feature and
the GPU may not be the only target.  So, there should be a way to specify
multiple targets for each user and vice versa while keeping the drivers
portable between platforms.  That seems to be challenging. :-)

Second, even if the input events were the only user and the GPU were the only
possible target, it probably won't be necessary to "tickle" the GPU every
time the touchscreen is used, only when the user is "scrolling", which input
events really can't tell.  The only entity having an idea about what the
_user_ is doing is the application being used at the moment.

> 2. provide sysfs interface that triggers tickling along with devfreq sysfs.

That may be a better approach IMO, but making applications use it also will
be challenging.

Thanks,
Rafael

  reply	other threads:[~2011-04-28 19:19 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26  8:43 [RFC PATCH] PM: Introduce generic DVFS framework with device-specific OPPs MyungJoo Ham
2011-04-26 11:09 ` Rafael J. Wysocki
2011-04-27  5:22   ` MyungJoo Ham
2011-04-27 13:46     ` Rafael J. Wysocki
2011-04-28  6:54       ` MyungJoo Ham
2011-04-28 19:19         ` Rafael J. Wysocki [this message]
2011-04-27 17:49     ` Colin Cross
2011-04-27 18:07       ` Menon, Nishanth
     [not found]       ` <BANLkTin4rrniJpOheLH=JE0jq7vFpdDbrA@mail.gmail.com>
2011-04-27 18:29         ` Colin Cross
     [not found]         ` <BANLkTi=WWASxk3Fz83324k40Lbq+ccAPeA@mail.gmail.com>
2011-04-27 18:37           ` Colin Cross
2011-04-27 18:48           ` Menon, Nishanth
     [not found]           ` <BANLkTikEtTDp3Cpj0D5z34wA0_G_DWwKFg@mail.gmail.com>
2011-04-27 18:54             ` Colin Cross
2011-04-27 19:26             ` Thomas Gleixner
     [not found]             ` <alpine.LFD.2.02.1104272104390.3323@ionos>
2011-04-27 20:48               ` Colin Cross
     [not found]               ` <BANLkTinWD0ktYKzR_jnQSE76AuW+Z1PSLw@mail.gmail.com>
2011-04-28  6:12                 ` MyungJoo Ham
     [not found]                 ` <BANLkTi=Be3DrAUoPmgHpjhAVmN-Pi5Au7g@mail.gmail.com>
2011-04-28  6:44                   ` Colin Cross
     [not found]                   ` <BANLkTiniJUgTTDh7SF8yNMeSMa+JYM21wA@mail.gmail.com>
2011-04-28  6:50                     ` MyungJoo Ham
     [not found]                     ` <BANLkTimzWyvcBV2ymxaMf=HmRhGYBboB1w@mail.gmail.com>
2011-04-28  7:06                       ` Colin Cross
     [not found]                       ` <BANLkTik6L8HkJ0YjQYjh_3eEmbffyk1kRA@mail.gmail.com>
2011-04-28  7:34                         ` MyungJoo Ham
2011-04-28 12:19                 ` Mark Brown
     [not found]           ` <BANLkTinP0_qpF3sp8CzDy42i24wqqo7ohw@mail.gmail.com>
2011-04-28  5:59             ` MyungJoo Ham
     [not found]             ` <BANLkTin-OMyrz=McN6X4TAZrvv3ehVBGew@mail.gmail.com>
2011-04-28  6:43               ` Colin Cross
     [not found]               ` <BANLkTikVHs1n8fXEAZh6Q4io39eD9PG14w@mail.gmail.com>
2011-04-28  7:16                 ` MyungJoo Ham
2011-04-27 19:00         ` Thomas Gleixner
2011-04-27 18:34       ` Mark Brown
2011-04-27 18:45         ` Colin Cross
2011-04-27 18:58           ` Mark Brown
2011-04-26 13:22 ` Greg KH
2011-04-26 14:45   ` Jiejing.Zhang 
2011-04-26 20:54     ` Greg KH
2011-04-27  5:33       ` MyungJoo Ham
2011-04-27 13:49         ` Rafael J. Wysocki
2011-04-27 13:36       ` Mark Brown
2011-04-26 19:45   ` Pavel Machek
2011-04-26 15:07 ` Mark Brown
2011-04-27  5:24   ` MyungJoo Ham

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=201104282119.05905.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=gregkh@suse.de \
    --cc=khilman@deeprootsystems.com \
    --cc=kyungmin.park@samsung.com \
    --cc=len.brown@intel.com \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=myungjoo.ham@gmail.com \
    --cc=nm@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox