diff options
author | Wyes Karny <[email protected]> | 2023-01-31 17:00:08 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-02-03 21:59:41 +0100 |
commit | 36c5014e5460963ad7766487c0e22a7ff28681fc (patch) | |
tree | 076fc06c2c38e23fc5e75360b44abae972c1cb1c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | e22abc6bb97cee240200d037a16b73951df16f9a (diff) |
cpufreq: amd-pstate: optimize driver working mode selection in amd_pstate_param()
The amd-pstate driver may support multiple working modes.
Introduce a variable to keep track of which mode is currently enabled.
Here we use cppc_state var to indicate which mode is enabled.
This change will help to simplify the the amd_pstate_param() to choose
which mode used for the following driver registration.
Acked-by: Huang Rui <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Tested-by: Wyes Karny <[email protected]>
Signed-off-by: Perry Yuan <[email protected]>
Signed-off-by: Wyes Karny <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions