Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce drops and save power. Bug: b/241152899 Bug: b/195990840 Test: manual Change-Id: I06a38eeade1aea7cb12bef079b555e6e34d2581c (Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
This commit is contained in:
parent
9335488c69
commit
ba8ccf33f5
3 changed files with 12 additions and 28 deletions
|
@ -87,3 +87,11 @@ on post-fs-data
|
|||
# Audio
|
||||
on post-fs-data
|
||||
chmod 644 /mnt/vendor/persist/audio/speaker.cal
|
||||
|
||||
# Override SF and RE uclamps to 0 on boot after being set elsewhere, for adpf cpu hints
|
||||
on property:sys.boot_completed=1
|
||||
trigger override-sf-uclamp
|
||||
|
||||
on override-sf-uclamp
|
||||
write /proc/vendor_sched/rt_uclamp_min 0
|
||||
write /proc/vendor_sched/sf_uclamp_min 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue