Skip to content

Commit c8be60c

Browse files
huangruishuahkh
authored andcommitted
cpupower: Add AMD P-State capability flag
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>
1 parent 101025f commit c8be60c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/power/cpupower/utils/helpers/helpers.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ enum cpupower_cpu_vendor {X86_VENDOR_UNKNOWN = 0, X86_VENDOR_INTEL,
7373
#define CPUPOWER_CAP_AMD_HW_PSTATE 0x00000100
7474
#define CPUPOWER_CAP_AMD_PSTATEDEF 0x00000200
7575
#define CPUPOWER_CAP_AMD_CPB_MSR 0x00000400
76+
#define CPUPOWER_CAP_AMD_PSTATE 0x00000800
7677

7778
#define CPUPOWER_AMD_CPBDIS 0x02000000
7879

0 commit comments

Comments
 (0)