From 47c84e1cb180072a0026aa16c2e89ba5bd280cec Mon Sep 17 00:00:00 2001 From: Christine Franks Date: Fri, 20 Jan 2023 08:24:04 -0800 Subject: [PATCH 1/2] Set DWB transition speed and high light range Transition speed set to 30s, high light range set to 130k-150k lux. Bug: 255417189 Bug: 266436992 Test: builds Change-Id: I68c6b63d6337ceab937c99292b49fe0254bf626e --- .../overlay/frameworks/base/core/res/res/values/config.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tangorpro/overlay/frameworks/base/core/res/res/values/config.xml b/tangorpro/overlay/frameworks/base/core/res/res/values/config.xml index fd34b17..572d514 100644 --- a/tangorpro/overlay/frameworks/base/core/res/res/values/config.xml +++ b/tangorpro/overlay/frameworks/base/core/res/res/values/config.xml @@ -254,8 +254,8 @@ 1) Contain at least two entries 2) Be the same length as config_displayWhiteBalanceHighLightAmbientBiases. --> - 3000.0 - 5000.0 + 130000.0 + 150000.0 6700.0 + + 30000 + From e45d8c53c1a629f7f08b34e655b3e368036c658e Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Mon, 16 Jan 2023 18:58:41 +0800 Subject: [PATCH 2/2] thermal: align the tpu, gxp throttling policy with P22 Bug: 261692386 Test: verified by emul_temp Change-Id: I49b29efe9d3da5330beaee5b73563657c1d976e9 --- thermal_info_config_tangorpro.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/thermal_info_config_tangorpro.json b/thermal_info_config_tangorpro.json index 6dd33f0..4b6ac63 100644 --- a/thermal_info_config_tangorpro.json +++ b/thermal_info_config_tangorpro.json @@ -115,7 +115,17 @@ "Multiplier":0.001, "SendCallback":true, "PollingDelay":300000, - "PassiveDelay":7000 + "PassiveDelay":7000, + "BindedCdevInfo": [ + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 2, 3, 4, 5, 5, 5] + }, + { + "CdevRequest": "gxp-cooling", + "LimitInfo": [0, 0, 0, 0, 0, 99, 99] + } + ] }, { "Name":"VIRTUAL-SKIN-HINT", @@ -596,6 +606,11 @@ "Type":"NPU", "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" }, + { + "Name":"gxp-cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote" + }, { "Name":"fcc", "Type":"BATTERY"