Skip to content

Commit

Permalink
oneplus9rt: init: Add more tunes from MT2111 14.0.0.211
Browse files Browse the repository at this point in the history
Requires kernel changes
  • Loading branch information
sergoops committed Jan 8, 2024
1 parent 00246ca commit f3b4c32
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions init/init.oplus.rc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ on property:vendor.post_boot.parsed=1
chmod 0666 /sys/devices/system/cpu/cpufreq/policy7/schedutil/target_loads
write /sys/devices/system/cpu/cpufreq/policy4/schedutil/target_loads "80 2112000:95"
write /sys/devices/system/cpu/cpufreq/policy7/schedutil/target_loads "80 2380800:95"
write /sys/module/cpufreq_effiency/parameters/affect_mode 1
write /sys/module/cpufreq_effiency/parameters/cluster0_effiency "300000,45000,1209600,50000,0"
write /sys/module/cpufreq_effiency/parameters/cluster1_effiency "710400,45000,1881600,50000,0"
write /sys/module/cpufreq_effiency/parameters/cluster2_effiency "844800,50000,2035200,55000,0"

# Kernel tuning
write /proc/sys/kernel/sched_min_task_util_for_colocation 162
write /dev/cpuctl/background/cpu.uclamp.window_policy 3
write /dev/cpuctl/background/cpu.uclamp.discount_wait_time 1
write /dev/cpuctl/background/cpu.uclamp.ed_task_filter 1
write /dev/cpuctl/background/cpu.uclamp.top_task_filter 1

# Route touch_sensitivity_mode to persist
on property:debug.touch_polling_mode=0
Expand Down

0 comments on commit f3b4c32

Please sign in to comment.