gs101: Change uclamp min value for camera

uclamp value is calculated based on the full capacity 1024. Previously
camera-daemon uses 6 which would set the min to 61. This boosts the
camera thread util up and would have power penalty. Change the value
to 1 to have minimum boost.

Bug: 186564130
Test: cat /dev/cpuctl/camera-daemon/cpu.uclamp.min & check power
Change-Id: Ib8f5ae2091848da4ee98211aeae37612ae2b308a
This commit is contained in:
Jia-yi Chen 2021-05-06 10:55:49 -07:00
parent 43206ce7ab
commit 82acc06cbe

View file

@ -123,7 +123,7 @@ on init
chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive
chown system system /dev/cpuctl/camera-daemon/cgroup.procs chown system system /dev/cpuctl/camera-daemon/cgroup.procs
write /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive 1 write /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive 1
write /dev/cpuctl/camera-daemon/cpu.uclamp.min 6 write /dev/cpuctl/camera-daemon/cpu.uclamp.min 1
chown system system /dev/cpuset/cgroup.procs chown system system /dev/cpuset/cgroup.procs