From 82acc06cbe800c013ee61d202ebd15c7aeb71833 Mon Sep 17 00:00:00 2001 From: Jia-yi Chen Date: Thu, 6 May 2021 10:55:49 -0700 Subject: [PATCH] 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 --- conf/init.gs101.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index 6686a764..51f49c0e 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -123,7 +123,7 @@ on init chown system system /dev/cpuctl/camera-daemon/cpu.uclamp.latency_sensitive 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.min 6 + write /dev/cpuctl/camera-daemon/cpu.uclamp.min 1 chown system system /dev/cpuset/cgroup.procs