From ddc2a9111b40a38279f35df2b9aa34116ff7e1cb Mon Sep 17 00:00:00 2001 From: Pointer Kung Date: Thu, 22 Aug 2024 04:28:05 +0000 Subject: [PATCH 1/3] Reduce TNR frequency to 111MHz for slow-mo 240fps Due to slow-mo 240fps does not enable GTNR, set the lower TNR frequency 111MHz for it to optimize power. Bug: 349707814 Test: Build pass, Boot to home Test: It will save ~15mW without frame drop impact for 240fps. (https://docs.google.com/spreadsheets/d/18w2N4SGCjcD4ZF-1hzv9ZfysCTzLxOeacmLpdcPx5qU/edit?usp=sharing) Flag: EXEMPT resource file change only Change-Id: Ib25707a4ba0132cf6cc1f4956c7f86278e3d5bbc --- perf/powerhint-tegu.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/perf/powerhint-tegu.json b/perf/powerhint-tegu.json index b604972..ce37d67 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -672,6 +672,7 @@ "Values": [ "664000", "233000", + "111000", "67000" ], "ResetOnInit": true @@ -2136,6 +2137,18 @@ "Duration": 0, "Value": "0x0" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "TNRMaxFreq", + "Duration": 0, + "Value": "111000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "TNRFreq", + "Duration": 0, + "Value": "111000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PowerHALCameraRunning", From 7c75af72811f80fecd4d42bad757465e7beaaf0e Mon Sep 17 00:00:00 2001 From: Aaron Tsai Date: Thu, 15 Aug 2024 07:59:25 +0000 Subject: [PATCH 2/3] Enable RIL ENDC mode setting during Radio OFF on Pixel 2025M Bug: 302058506 Test: build pass Flag: build.ALLOW_SET_ENDC_DURING_RADIO_OFF Change-Id: I31c798b55176b5065965f0df0d8981235be13321 --- device-tegu.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device-tegu.mk b/device-tegu.mk index 121385f..8be00e8 100644 --- a/device-tegu.mk +++ b/device-tegu.mk @@ -389,3 +389,6 @@ PRODUCT_COPY_FILES += \ # IRadio HAL USE_RADIO_HAL_2_1 := false USE_RADIO_HAL_2_2 := true + +# Allow RIL enable/disable ENDC mode during Radio OFF +ALLOW_SET_ENDC_DURING_RADIO_OFF := true From 880d94f6d87a48db0d779a8292617fcebd1a67b6 Mon Sep 17 00:00:00 2001 From: "Peter (YM)" Date: Tue, 27 Aug 2024 07:14:36 +0000 Subject: [PATCH 3/3] thermal: align the metric threshold with other device Bug: 362411361 Test: Flash and boot to home Flag: EXEMPT config update Change-Id: Ib1b7353e637d050e8b6a01b9d383d7470d239905 Signed-off-by: Peter (YM) --- thermal/thermal_info_config_tegu.json | 28 ++------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/thermal/thermal_info_config_tegu.json b/thermal/thermal_info_config_tegu.json index 39e3111..22cf0a8 100644 --- a/thermal/thermal_info_config_tegu.json +++ b/thermal/thermal_info_config_tegu.json @@ -1180,37 +1180,13 @@ "Sensors": { "RecordWithDefaultThreshold": ["VIRTUAL-SKIN"], "RecordWithThreshold": [ - { - "Name": "VIRTUAL-BTS-WINDOW-PARTIAL", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] - }, { "Name": "VIRTUAL-SKIN-SPEAKER-MODEL", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] + "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 55] }, { "Name": "VIRTUAL-SKIN", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] - }, - { - "Name": "VIRTUAL-SKIN-SUB-0", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] - }, - { - "Name": "VIRTUAL-SKIN-SUB-1", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] - }, - { - "Name": "VIRTUAL-SKIN-SUB-2", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] - }, - { - "Name": "VIRTUAL-SKIN-SUB-3", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] - }, - { - "Name": "VIRTUAL-SKIN-SUB-4", - "Thresholds": [41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 75] + "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 55] }, { "Name": "QUIET_THERM-VSKIN-DIFF-DURING-VSKIN-OVER-52",