[PATCH v2 3/4] lib/power: add get and set API for scaling freq min and max with pstate mode

Ray Kinsella mdr at ashroe.eu
Tue Apr 19 17:43:11 CEST 2022


Kevin Laatz <kevin.laatz at intel.com> writes:

> Add new get/set API to allow the user or application to set the minimum
> and maximum frequencies to use when scaling.
> Previously, the frequency range was determined by the HW capabilities of
> the CPU. With this new API, the user or application can constrain this
> if required.
>
> Signed-off-by: Kevin Laatz <kevin.laatz at intel.com>
> ---
>  lib/power/power_pstate_cpufreq.c | 22 +++++++--
>  lib/power/rte_power_pmd_mgmt.c   | 65 ++++++++++++++++++++++++++
>  lib/power/rte_power_pmd_mgmt.h   | 80 ++++++++++++++++++++++++++++++++
>  lib/power/version.map            |  4 ++
>  4 files changed, 166 insertions(+), 5 deletions(-)
>

Acked-by: Ray Kinsella <mdr at ashroe.eu>


More information about the dev mailing list