linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Usage of notifier callback in devfreq
@ 2015-02-13 20:41 vkalia
  0 siblings, 0 replies; only message in thread
From: vkalia @ 2015-02-13 20:41 UTC (permalink / raw)
  To: linux-pm

Hi

We want to implement DCVS for video device. Video device interrupts the
driver when the frequency needs to be updated. Since conventional
governors work on polling mechanism we would like to know how we can
implement a governor with event based mechanism. We would like to use the
notifier callback in devfreq for this to wake up the governor at certain
points so it can query the new stats from video driver. Is this the right
approach? If not can you please suggest an alternative. Any examples will
be of great help.

Notifier callback we plan to use is @
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/devfreq/devfreq.c?id=refs/tags/v3.19#n480

Thanks
Vinay


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-13 20:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13 20:41 Usage of notifier callback in devfreq vkalia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).