aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2019-10-16 16:57:53 +0200
committerViresh Kumar <[email protected]>2019-11-11 10:27:15 +0530
commit25cb20a212a1f989385dfe23230817e69c62bee5 (patch)
treea3b74abd3ad9d4d153a1943a7e78da910a0ec7ba /tools/perf/scripts/python/export-to-postgresql.py
parentb19c23551be8de0d4e59fe6af70f10763e3cc595 (diff)
PM / OPP: Support adjusting OPP voltages at runtime
On some SoCs the Adaptive Voltage Scaling (AVS) technique is employed to optimize the operating voltage of a device. At a given frequency, the hardware monitors dynamic factors and either makes a suggestion for how much to adjust a voltage for the current frequency, or it automatically adjusts the voltage without software intervention. Add an API to the OPP library for the former case, so that AVS type devices can update the voltages for an OPP when the hardware determines the voltage should change. The assumption is that drivers like CPUfreq or devfreq will register for the OPP notifiers and adjust the voltage according to suggestions that AVS makes. This patch is derived from [1] submitted by Stephen. [1] https://lore.kernel.org/patchwork/patch/599279/ Signed-off-by: Stephen Boyd <[email protected]> [Roger Lu: Changed to rcu less implementation] Signed-off-by: Roger Lu <[email protected]> [[email protected]: added handling of OPP min/max voltage] Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions