diff options
| author | Srinivas Pandruvada <[email protected]> | 2020-12-21 07:18:58 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-01-04 14:54:27 +0000 |
| commit | f981dc171c04c6cf5a35c712543b231ebf805832 (patch) | |
| tree | 3b535e95e1165fde8cae2d92f0fc24566c14babb /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | Linux 5.11-rc1 (diff) | |
| download | kernel-f981dc171c04c6cf5a35c712543b231ebf805832.tar.gz kernel-f981dc171c04c6cf5a35c712543b231ebf805832.zip | |
tools/power/x86/intel-speed-select: Set scaling_max_freq to base_frequency
When BIOS disables turbo, The scaling_max_freq in cpufreq sysfs will be
limited to config level 0 base frequency. But when user selects a higher
config levels, this will result in higher base frequency. But since
scaling_max_freq is still old base frequency, the performance will still
be limited. So when the turbo is disabled and cpufreq base_frequency is
higher than scaling_max_freq, update the scaling_max_freq to the
base_frequency.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
