devfreq: reset mif freq after boot

to reduce boot time, boost mif freq when booting
and reset it after booting.

Bug: 274153820
Test: pass
Change-Id: I9977e256e883d9c8a80887b3155ed6b028e1c0c2
Signed-off-by: Chungkai Mei <chungkai@google.com>
This commit is contained in:
Chungkai Mei 2023-04-07 01:42:17 +00:00 committed by Chung-Kai (Michael) Mei
parent 6b73cd5d6e
commit 063bc1b5ca

View file

@ -733,6 +733,9 @@ on property:sys.boot_completed=1
# Enable UFS powersaving # Enable UFS powersaving
write /dev/sys/block/bootdevice/clkgate_enable 1 write /dev/sys/block/bootdevice/clkgate_enable 1
# Cancel boot devfreq
write /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/exynos_data/cancel_boot_freq 1
# Setup final cpuset # Setup final cpuset
write /dev/cpuset/top-app/cpus 0-8 write /dev/cpuset/top-app/cpus 0-8
write /dev/cpuset/foreground/cpus 0-7 write /dev/cpuset/foreground/cpus 0-7