Skip to content

Commit

Permalink
Spectrum: fixed ui lag in Balanced profile and improved gaming mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mountaser committed Aug 22, 2018
1 parent d7b5887 commit e4faaae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions template/ramdisk/overlay/init.spectrum.rc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ on property:persist.spectrum.profile=0
write /sys/kernel/autosmp/conf/cpufreq_down 40
write /sys/kernel/autosmp/conf/cpufreq_up 60
#GPU
write /sys/class/kgsl/kgsl-3d0/devfreq/governor simple_ondemand
write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz
write /sys/module/adreno_idler/parameters/adreno_idler_active 1
write /sys/module/adreno_idler/parameters/adreno_idler_idlewait 30
write /sys/module/adreno_idler/parameters/adreno_idler_idleworkload 4000
Expand Down Expand Up @@ -128,10 +128,10 @@ on property:persist.spectrum.profile=2
on property:persist.spectrum.profile=3
#CPU
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 2200000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 2200000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 2200000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 2200000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 2016000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 2208000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 2016000
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 2208000
write /sys/devices/system/cpu/cpu0/online 1
write /sys/devices/system/cpu/cpu1/online 1
write /sys/devices/system/cpu/cpu2/online 1
Expand All @@ -151,7 +151,7 @@ on property:persist.spectrum.profile=3
write /sys/kernel/autosmp/conf/cpufreq_up 60
#GPU
write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz
write /sys/class/kgsl/kgsl-3d0/devfreq/min_freq 700000000
write /sys/class/kgsl/kgsl-3d0/devfreq/min_freq 650000000
write /sys/class/kgsl/kgsl-3d0/max_gpuclk 700000000
write /sys/module/adreno_idler/parameters/adreno_idler_active 0
write /sys/module/adreno_idler/parameters/adreno_idler_idlewait 15
Expand Down

0 comments on commit e4faaae

Please sign in to comment.