diff mbox series

[1/2] cpufreq: intel_pstate: Update Arrow Lake hybrid scaling factor

Message ID 20240618055221.446108-1-srinivas.pandruvada@linux.intel.com (mailing list archive)
State Mainlined, archived
Headers show
Series [1/2] cpufreq: intel_pstate: Update Arrow Lake hybrid scaling factor | expand

Commit Message

srinivas pandruvada June 18, 2024, 5:52 a.m. UTC
Arrow Lake uses the same scaling factor as Meteor Lake, so reuse the
same scaling factor.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/cpufreq/intel_pstate.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Rafael J. Wysocki June 19, 2024, 7:16 p.m. UTC | #1
On Tue, Jun 18, 2024 at 7:52 AM Srinivas Pandruvada
<srinivas.pandruvada@linux.intel.com> wrote:
>
> Arrow Lake uses the same scaling factor as Meteor Lake, so reuse the
> same scaling factor.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> ---
>  drivers/cpufreq/intel_pstate.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
> index 3dc9b82c43af..72d9e60369e0 100644
> --- a/drivers/cpufreq/intel_pstate.c
> +++ b/drivers/cpufreq/intel_pstate.c
> @@ -3401,6 +3401,7 @@ static const struct x86_cpu_id intel_epp_default[] = {
>
>  static const struct x86_cpu_id intel_hybrid_scaling_factor[] = {
>         X86_MATCH_VFM(INTEL_METEORLAKE_L, HYBRID_SCALING_FACTOR_MTL),
> +       X86_MATCH_VFM(INTEL_ARROWLAKE, HYBRID_SCALING_FACTOR_MTL),
>         {}
>  };
>
> --

Applied as 6.11 material along with the [2/2], thanks!
diff mbox series

Patch

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 3dc9b82c43af..72d9e60369e0 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -3401,6 +3401,7 @@  static const struct x86_cpu_id intel_epp_default[] = {
 
 static const struct x86_cpu_id intel_hybrid_scaling_factor[] = {
 	X86_MATCH_VFM(INTEL_METEORLAKE_L, HYBRID_SCALING_FACTOR_MTL),
+	X86_MATCH_VFM(INTEL_ARROWLAKE, HYBRID_SCALING_FACTOR_MTL),
 	{}
 };