summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRam Chandrasekar <rkumbako@codeaurora.org>2017-01-25 17:05:11 -0700
committerRam Chandrasekar <rkumbako@codeaurora.org>2017-02-02 09:39:51 -0700
commit6f9814c90a6253eb7f2259e97d04a24a54a48cb4 (patch)
tree1abc65d13e235b5ebb7bd47c48c973c1eb1a6653 /tools/perf/scripts/python
parent110e102fe3de3bf08fcdb3f2117530f632c5a99f (diff)
drivers: lmh_dcvsh: Provide CPU frequency in Hz for opp interface
The frequency requested by LMH DCVSh hardware may not match an actual frequency in the CPU clock plan. LMH DCVSh driver uses OPP framework to match the hardware frequency request to a nearest valid CPU frequency. OPP interface expects the frequency input in Hz and DCVSh driver is passing the frequency value in kHz, which will result in error. So the hardware mitigation frequency reported by the driver may not reflect the actual frequency that the CPU is mitigated to. Provide the hardware frequency input in Hz for OPP interface in LMH DCVSh driver. Hardware mitigation frequency can be lower than the lowest possible CPU frequency. In that case freq floor call will fail. So call dev_pm_opp_find_freq_ceil to match to the lowest CPU frequency. Change-Id: I6e9f7f5129320c37d41e20ca9735129f25440134 Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions