aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/utils/helpers/helpers.h
diff options
context:
space:
mode:
authorNathan Fontenot <[email protected]>2021-01-25 17:35:23 +0000
committerShuah Khan <[email protected]>2021-01-26 16:40:32 +0000
commit56a85eebebdba62ebf6c46bd957949cc6e926aa0 (patch)
tree7105b31a86f4fbfad93c41007b4f915e8225ba02 /tools/power/cpupower/utils/helpers/helpers.h
parentcpupower: Update family checks when decoding HW pstates (diff)
downloadkernel-56a85eebebdba62ebf6c46bd957949cc6e926aa0.tar.gz
kernel-56a85eebebdba62ebf6c46bd957949cc6e926aa0.zip
cpupower: Condense pstate enabled bit checks in decode_pstates()
The enabled bit (bit 63) is common for all families so we can remove the multiple enabled checks based on family and have a common check for HW pstate enabled. Signed-off-by: Nathan Fontenot <[email protected]> Reviewed-by: Robert Richter <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/power/cpupower/utils/helpers/helpers.h')
0 files changed, 0 insertions, 0 deletions