From 2d51ed1ffd3fad6d18d45797e9a8fd57171617df Mon Sep 17 00:00:00 2001 From: Robin Peng Date: Wed, 20 Jul 2022 12:48:36 +0800 Subject: [PATCH 1/2] init: remove twoshay HAL init trigger condition 'on late-init' Bug: 238853979 Signed-off-by: Robin Peng Change-Id: I60ce38f2b4ae4e27c14a9fe8ede5f762c06fa22f --- conf/init.lynx.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index adc8fb6..ddb8eb2 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -30,7 +30,7 @@ on boot && property:ro.build.flavor=factory_lynx-userdebug mkdir /data/AudioTest 0775 system system # Start the twoshay touch service -on late-init && property:vendor.device.modules.ready=1 +on property:vendor.device.modules.ready=1 start twoshay on property:vendor.mfgapi.touchpanel.permission=1 From bedc6106074cc9ee0ab89cf7fa97ac8667ac7006 Mon Sep 17 00:00:00 2001 From: pointerkung Date: Mon, 18 Jul 2022 18:18:56 +0800 Subject: [PATCH 2/2] MIF frequency optimization for 60fps video recording use-case This CL sets the MIF min clock frequency to 1539MHz, which based on initial ODPM and MIPS measurements shows benefit both in terms of power consumption and cycles-per-instructions (CPI), reducing the gap with R4 device. L10 power and performance impact tests will update on the bug. Bug: 239651545 Test: Build pass, GCA Change-Id: I1b057f187e45bad46f4661bd5673f0f88aab3a93 --- powerhint.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/powerhint.json b/powerhint.json index 98d39dd..0a61b7c 100644 --- a/powerhint.json +++ b/powerhint.json @@ -5,6 +5,7 @@ "Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq", "Values": [ "3172000", + "1539000", "1014000", "421000" ], @@ -940,7 +941,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "MemFreq", "Duration": 0, - "Value": "1014000" + "Value": "1539000" }, { "PowerHint": "CAMERA_STREAMING_HIGH",