diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-01-09 13:53:50 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-01-18 00:15:20 +0300 |
commit | 3b7357663a47092576c2802dd1dc74d35c8c8721 (patch) | |
tree | f91419c3fbb9589e945b2831e981e013f66c483a /Documentation/cpuidle/governor.txt | |
parent | b26bf6ab716f27955e2a503ffca1691582127cbb (diff) | |
download | linux-3b7357663a47092576c2802dd1dc74d35c8c8721.tar.xz |
Documentation: driver-api: PM: Add cpuidle document
Replace the remaining documents under Documentation/cpuidle/
with one more complete governor and driver API document for cpuidle
under Documentation/driver-api/pm/.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/cpuidle/governor.txt')
-rw-r--r-- | Documentation/cpuidle/governor.txt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Documentation/cpuidle/governor.txt b/Documentation/cpuidle/governor.txt deleted file mode 100644 index d9020f5e847b..000000000000 --- a/Documentation/cpuidle/governor.txt +++ /dev/null @@ -1,28 +0,0 @@ - - - - Supporting multiple CPU idle levels in kernel - - cpuidle governors - - - - -cpuidle governor is policy routine that decides what idle state to enter at -any given time. cpuidle core uses different callbacks to the governor. - -* enable() to enable governor for a particular device -* disable() to disable governor for a particular device -* select() to select an idle state to enter -* reflect() called after returning from the idle state, which can be used - by the governor for some record keeping. - -More than one governor can be registered at the same time and -users can switch between drivers using /sysfs interface (when enabled). -More than one governor part is supported for developers to easily experiment -with different governors. By default, most optimal governor based on your -kernel configuration and platform will be selected by cpuidle. - -Interfaces: -extern int cpuidle_register_governor(struct cpuidle_governor *gov); -struct cpuidle_governor |