lkml.org 
[lkml]   [2021]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 13/22] cpupower: add AMD P-state capability flag
    Date
    Add AMD P-state capability flag in cpupower to indicate AMD new P-state
    kernel module support on Ryzen processors.

    Signed-off-by: Huang Rui <ray.huang@amd.com>
    ---
    tools/power/cpupower/utils/helpers/helpers.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/tools/power/cpupower/utils/helpers/helpers.h b/tools/power/cpupower/utils/helpers/helpers.h
    index 33ffacee7fcb..b4813efdfb00 100644
    --- 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

    --
    2.25.1
    \
     
     \ /
      Last update: 2021-11-30 13:39    [W:4.138 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site