mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Merge "wahoo: power: switch to libperfmgr for powerhint"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c4822cb332
@@ -385,7 +385,6 @@ on zygote-start
|
||||
# b/62837579 elabel directory
|
||||
mkdir /data/misc/elabel 0700 system system
|
||||
|
||||
|
||||
on early-boot
|
||||
# wait for devices
|
||||
wait_for_prop sys.qcom.devup 1
|
||||
@@ -549,11 +548,20 @@ service vendor.per_proxy /vendor/bin/pm-proxy
|
||||
disabled
|
||||
|
||||
on property:sys.post_boot.parsed=1
|
||||
start vendor.perfd
|
||||
# Setup permission for powerHAL
|
||||
chown system system /dev/stune/top-app/schedtune.boost
|
||||
chown system system /dev/cpu_dma_latency
|
||||
chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/min_freq
|
||||
chown system system /sys/class/kgsl/kgsl-3d0/devfreq/min_freq
|
||||
chown system system /sys/class/kgsl/kgsl-3d0/devfreq/max_freq
|
||||
chown system system /sys/class/devfreq/soc:qcom,gpubw/min_freq
|
||||
chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/bw_hwmon/hyst_trigger_count
|
||||
chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/bw_hwmon/hist_memory
|
||||
chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/bw_hwmon/hyst_length
|
||||
chown system system /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/min_freq
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Enable power setting and set sys.post_boot.parsed to 1
|
||||
# to start perfd
|
||||
start vendor.power_sh
|
||||
|
||||
# Enable UFS powersaving
|
||||
|
||||
Reference in New Issue
Block a user