Revert "klte-common: init: Remove writes to non-existant cpufreq nodes"
This reverts commit b7f109ed9f
.
* So, that was 100% my derp. The cpufreq directories come and go as
cores go on- and off-line.
* Now, I wish I had notes as to whether I made this change in the
first place because of an error in a log or just based on manual
inspection.
Change-Id: I2782fefa80560bf9e20001e72ad378553d787ac0
This commit is contained in:
parent
f0e4836605
commit
5ab94096fe
1 changed files with 6 additions and 0 deletions
|
@ -976,6 +976,9 @@ on property:sys.boot_completed=1
|
|||
|
||||
# Configure the CPU governor
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
|
||||
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor interactive
|
||||
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor interactive
|
||||
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor interactive
|
||||
write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "19000 1400000:39000 1700000:19000"
|
||||
write /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 99
|
||||
write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1497600
|
||||
|
@ -985,6 +988,9 @@ on property:sys.boot_completed=1
|
|||
write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 30000
|
||||
write /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 100000
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000
|
||||
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 300000
|
||||
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 300000
|
||||
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 300000
|
||||
|
||||
chown root system /sys/devices/system/cpu/cpu1/online
|
||||
chown root system /sys/devices/system/cpu/cpu2/online
|
||||
|
|
Loading…
Reference in a new issue