projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
101025f
)
cpupower: Add AMD P-State capability flag
author
Huang Rui
<ray.huang@amd.com>
Tue, 22 Feb 2022 15:34:17 +0000
(23:34 +0800)
committer
Shuah Khan
<skhan@linuxfoundation.org>
Wed, 23 Feb 2022 01:36:16 +0000
(18:36 -0700)
Add AMD P-State capability flag in cpupower to indicate AMD new P-State
kernel module support on Ryzen processors.
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/utils/helpers/helpers.h
patch
|
blob
|
history
diff --git
a/tools/power/cpupower/utils/helpers/helpers.h
b/tools/power/cpupower/utils/helpers/helpers.h
index 33ffacee7fcb96b14cffc62c834c7f40e1d93514..b4813efdfb009851fee49ecf85dbb2fdfe2eb8d9 100644
(file)
--- a/
tools/power/cpupower/utils/helpers/helpers.h
+++ b/
tools/power/cpupower/utils/helpers/helpers.h
@@
-73,6
+73,7
@@
enum cpupower_cpu_vendor {X86_VENDOR_UNKNOWN = 0, X86_VENDOR_INTEL,
#define CPUPOWER_CAP_AMD_HW_PSTATE 0x00000100
#define CPUPOWER_CAP_AMD_PSTATEDEF 0x00000200
#define CPUPOWER_CAP_AMD_CPB_MSR 0x00000400
+#define CPUPOWER_CAP_AMD_PSTATE 0x00000800
#define CPUPOWER_AMD_CPBDIS 0x02000000