• Srinivas Pandruvada's avatar
    cpufreq: intel_pstate: Update hybrid scaling factor for Meteor Lake · bde4f5ff
    Srinivas Pandruvada authored
    On some Meteor Lake platforms, maximum one core turbo frequency is not
    observed. During hybrid performance to frequency conversion, the maximum
    frequency is 100 MHz less. This results in requesting maximum frequency
    100 MHz less.
    
    For example when the max one core turbo is 4.9 GHz:
    MSR HWP_CAPABILITIES shows highest performance ratio for P-core is 0x3E.
    With the current scaling factor of 78741 (1.27x for converting frequency
    to performance) results in max frequency of 4.8 GHz. This results in
    capping the max scaling frequency as 4.8 GHz, which is 100 MHz less than
    the desired.
    
    Add capability to define per CPU model specific scaling factor and define
    scaling factor of 80000 (1.25x for converting frequency to performance for
    P-cores) for Meteor Lake.
    Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
    [ rjw: Debug message adjustment, subject edit ]
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    bde4f5ff
intel_pstate.c 90.5 KB