aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2023-07-20 05:40:52 +0000
committerViresh Kumar <[email protected]>2023-07-21 09:38:27 +0000
commit142e17c1c2b48e3fb4f024e62ab6dee18f268694 (patch)
tree7a106123a9417aceab9869d77840b426fdbcbd27 /tools/perf/scripts/python/sched-migration.py
parentOPP: Rearrange entries in pm_opp.h (diff)
downloadkernel-142e17c1c2b48e3fb4f024e62ab6dee18f268694.tar.gz
kernel-142e17c1c2b48e3fb4f024e62ab6dee18f268694.zip
OPP: Introduce dev_pm_opp_find_freq_{ceil/floor}_indexed() APIs
In the case of devices with multiple clocks, drivers need to specify the clock index for the OPP framework to find the OPP corresponding to the floor/ceil of the supplied frequency. So let's introduce the two new APIs accepting the clock index as an argument. These APIs use the exising _find_key_ceil() helper by supplying the clock index to it. Signed-off-by: Manivannan Sadhasivam <[email protected]> [ Viresh: Rearranged definitions in pm_opp.h ] Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions