cpupower: Add function to print AMD P-State performance capabilities
authorHuang Rui <ray.huang@amd.com>
Tue, 22 Feb 2022 15:34:25 +0000 (23:34 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 23 Feb 2022 01:37:12 +0000 (18:37 -0700)
commitd8363e29178249bb505ae388ce1658484396fcde
treed3d99102548486f6f52b8e70952f1efa927ac088
parent35fdf42d90d09d2d00ef65999fe338027a6b4d8e
cpupower: Add function to print AMD P-State performance capabilities

AMD P-State kernel module is using the fine grain frequency instead of
acpi hardware pstate. So add a function to print performance and
frequency values.

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/cpufreq-info.c
tools/power/cpupower/utils/helpers/amd.c
tools/power/cpupower/utils/helpers/helpers.h