summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-03-16 16:52:43 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-03-23 19:41:14 +0100
commitde5bcf404acee6218f8f49c9d6dc1f6031a62fa6 (patch)
treea7e7b17b6d4569860bc48b57a712689f5f628b2b /scripts/gdb/linux/tasks.py
parent4c56f573bd941dcdcbbcd58d91489e994715eb47 (diff)
cpufreq: intel_pstate: Clean up frequency computations
Notice that some computations related to frequency in intel_pstate can be simplified if (a) intel_pstate_get_hwp_max() updates the relevant members of struct cpudata by itself and (b) the "turbo disabled" check is moved from it to its callers, so modify the code accordingly and while at it rename intel_pstate_get_hwp_max() to intel_pstate_get_hwp_cap() which better reflects its purpose and provide a simplified variat of it, __intel_pstate_get_hwp_cap(), suitable for the initialization path. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Chen Yu <yu.c.chen@intel.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions