Skip to content

Commit 92e6088

Browse files
Perry Yuanrafaeljw
authored andcommitted
Documentation: amd-pstate: add amd pstate driver mode introduction
The amd-pstate driver has two operation modes supported: * CPPC Autonomous (active) mode * CPPC non-autonomous (passive) mode. active mode and passive mode can be chosen by different kernel parameters. Acked-by: Huang Rui <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Reviewed-by: Wyes Karny <[email protected]> Tested-by: Wyes Karny <[email protected]> Signed-off-by: Perry Yuan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent abd61c0 commit 92e6088

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

Documentation/admin-guide/pm/amd-pstate.rst

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,30 @@ module which supports the new AMD P-States mechanism on most of the future AMD
299299
platforms. The AMD P-States mechanism is the more performance and energy
300300
efficiency frequency management method on AMD processors.
301301

302-
Kernel Module Options for ``amd-pstate``
303-
=========================================
302+
303+
AMD Pstate Driver Operation Modes
304+
=================================
305+
306+
``amd_pstate`` CPPC has two operation modes: CPPC Autonomous(active) mode and
307+
CPPC non-autonomous(passive) mode.
308+
active mode and passive mode can be chosen by different kernel parameters.
309+
When in Autonomous mode, CPPC ignores requests done in the Desired Performance
310+
Target register and takes into account only the values set to the Minimum requested
311+
performance, Maximum requested performance, and Energy Performance Preference
312+
registers. When Autonomous is disabled, it only considers the Desired Performance Target.
313+
314+
Active Mode
315+
------------
316+
317+
``amd_pstate=active``
318+
319+
This is the low-level firmware control mode which is implemented by ``amd_pstate_epp``
320+
driver with ``amd_pstate=active`` passed to the kernel in the command line.
321+
In this mode, ``amd_pstate_epp`` driver provides a hint to the hardware if software
322+
wants to bias toward performance (0x0) or energy efficiency (0xff) to the CPPC firmware.
323+
then CPPC power algorithm will calculate the runtime workload and adjust the realtime
324+
cores frequency according to the power supply and thermal, core voltage and some other
325+
hardware conditions.
304326

305327
Passive Mode
306328
------------

0 commit comments

Comments
 (0)