mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-23 13:45:10 +02:00
fix: use scaling_max_freq for accurate max CPU clock detection (#866)
This commit is contained in:
parent
bb1abd9342
commit
562278377f
@ -208,7 +208,7 @@ function get_frequency_min_limit () {
|
||||
|
||||
function get_frequency_max_limit () {
|
||||
if [ -z $CORE ]; then CORE=0; fi
|
||||
cat $FLROOT/cpu$CORE/cpufreq/cpuinfo_max_freq
|
||||
cat $FLROOT/cpu$CORE/cpufreq/scaling_max_freq
|
||||
}
|
||||
|
||||
function get_energy_performance_preference () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user