public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@dominikbrodowski.net>
To: Raj Kumar <rajkumar278@hotmail.com>, linux-pm@lists.linux-foundation.org
Subject: Re: your mail
Date: Sat, 18 Sep 2010 17:56:06 +0200	[thread overview]
Message-ID: <20100918155606.GA16269@isilmar-3.linta.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1009181135000.10856-100000@netrider.rowland.org>

Hi Raj,

On Sat, Sep 18, 2010 at 11:36:16AM -0400, Alan Stern wrote:
> > I have question regarding the CPU frequency subsystem through which the frequency of the CPU is scaled.
> > 
> > e.g. If we have device driver (X device contains processor) that wants to scale its own processor based
> > 
> > upon the workload, (DVFS driver for this processor is implemented and registered with cpufreq subsystem)
> > 
> > then X device driver when detects waorkload,  Can this X device driver call policy governor APIS for scaling clock or
> > 
> > this X device driver can directly calls DVFS driver APIs directly?

Best would be to register a cpufreq policy notifier,
(cpufreq_register_notifier()), and then call cpufreq_update_policy()
whenever the "X device driver" needs to modify its frequency constraints.

In addition, it would be best to discuss this on the cpufreq mailing list at

cpufreq@vger.kernel.org

Best,
	Dominik

  reply	other threads:[~2010-09-18 15:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BLU102-W1030ED196ED7B94722F2A7EB830@phx.gbl>
     [not found] ` <Pine.LNX.4.44L0.1008241029000.1652-100000@iolanthe.rowland.org>
2010-08-24 15:17   ` Runtime power management during system resume Raj Kumar
2010-08-24 17:50     ` Alan Stern
2010-08-25 13:27     ` Raj Kumar
2010-08-25 14:51       ` Alan Stern
2010-08-26 13:40       ` Raj Kumar
2010-08-26 14:33         ` Alan Stern
2010-09-18 11:49         ` (no subject) Raj Kumar
2010-09-18 15:36           ` your mail Alan Stern
2010-09-18 15:56             ` Dominik Brodowski [this message]
2010-10-05 21:40           ` Question about hibernation Raj Kumar
2010-10-05 22:43             ` Rafael J. Wysocki

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=20100918155606.GA16269@isilmar-3.linta.de \
    --to=linux@dominikbrodowski.net \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=rajkumar278@hotmail.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