Skip to content

Commit ff1f1e2

Browse files
committed
fix(pm_dfs): Add schedutil as a governor
schedutil is a CPUFreq governor in Linux. schedutil was left out of the documentation originally. Signed-off-by: Kendall Willis <[email protected]>
1 parent 4317348 commit ff1f1e2

File tree

1 file changed

+29
-31
lines changed
  • source/linux/Foundational_Components/Power_Management

1 file changed

+29
-31
lines changed

source/linux/Foundational_Components/Power_Management/pm_dfs.rst

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ frequency. The following governors are available within the kernel:
2424
- **userspace**: This governor allows the user to set the desired OPP
2525
using any value found within scaling\_available\_frequencies by
2626
echoing it into scaling\_setspeed.
27+
- **schedutil**: This governor uses the Linux kernel scheduler utilization
28+
data to set the frequence.
2729

2830
More in depth documentation about each governor can be found in the
2931
linux kernel documentation here:
3032
https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt
3133

32-
By default, cpufreq, the cpufreq driver, and all of the standard
33-
governors are enabled with the ondemand governor selected as the default
34-
governor. To make changes, follow the instructions below.
34+
By default, cpufreq, the cpufreq driver, and the ondemand, performance, and
35+
userspace governors are enabled with the performance governor selected as the
36+
default governor. The conservative and powersave governors are enabled by
37+
default as modules. To make changes, follow the instructions below.
3538

3639
.. rubric:: Source Location
3740

@@ -50,42 +53,37 @@ $ make menuconfig
5053
Select CPU Power Management from the main menu.
5154

5255
.. code-block:: text
53-
54-
...
55-
...
56-
Boot options --->
57-
CPU Power Management --->
58-
Floating point emulation --->
59-
...
56+
...
57+
Boot options --->
58+
Power management options --->
59+
CPU Power Management --->
60+
ACPI (Advanced Configuration and Power Interface) Support ----
61+
...
6062
6163
Select CPU Frequency Scaling as shown here:
6264

6365
.. code-block:: text
64-
65-
...
66-
...
67-
CPU Frequency Scaling --->
68-
[*] CPU idle PM support
69-
...
66+
CPU Idle --->
67+
CPU Frequency scaling --->
7068
7169
All relevant options are listed below:
7270

7371
.. code-block:: text
74-
75-
[*] CPU Frequency scaling
76-
<*> CPU frequency translation statistics
77-
[*] CPU frequency translation statistics details
78-
Default CPUFreq governor (userspace) --->
79-
<*> 'performance' governor
80-
<*> 'powersave' governor
81-
-*- 'userspace' governor for userspace frequency scaling
82-
<*> 'ondemand' cpufreq policy governor
83-
<*> 'conservative' cpufreq governor
84-
*** CPU frequency scaling drivers ***
85-
<M> Generic DT based cpufreq driver
86-
<M> Generic DT based cpufreq driver using clk notifiers
87-
<*> Texas Instruments CPUFreq support
88-
...
72+
[*] CPU Frequency scaling
73+
[*] CPU frequency transition statistics
74+
Default CPUFreq governor (performance) --->
75+
-*- 'performance' governor
76+
<M> 'powersave' governor
77+
<*> 'userspace' governor for userspace frequency scaling
78+
<*> 'ondemand' cpufreq policy governor
79+
<M> 'conservative' cpufreq governor
80+
[ ] 'schedutil' cpufreq policy governor
81+
*** CPU frequency scaling drivers ***
82+
<*> Generic DT based cpufreq driver
83+
-*- Generic DT based cpufreq platdev driver
84+
<*> SCMI based CPUfreq driver
85+
[*] Texas Instruments CPUFreq support
86+
...
8987
9088
.. ifconfig:: CONFIG_part_variant in ('J7200')
9189

0 commit comments

Comments
 (0)