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@xxxxxxxxxxxxxxx Best, Dominik _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm