- avoid wrong sensor value reading for thermalHAL
Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I342bcbfb5ee884aa437d4d4552aeea7d0a9df119
Signed-off-by: Peter (YM) <peterym@google.com>
gChips discovered potential issues with this frequency, and has recommended its removal.
This also updates thermal hard-limits to reflect the removal of one
operating point.
Bug: 240479599
Test: Boot to homescreen
Change-Id: If16a65550b85a4a4a66cdcd3b5bd7e31d7e7dc88
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
This reverts commit 7e2cc1ebbe.
Reason for revert: Move throttling back to userspace
Bug: 239887528
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4ef3851a7163e50ed95862ba99330046634e032c
This is part of the change to move the throttling mechanism into kernel
space for faster response time.
Bug: 238555356
Test: Confirm kernel space throttling
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I681ad03f5165af00b7db00251e03abeccebdb0cc
Given that PTS-Thermal fix for Monitored tzones and TRIP_DOWN
is enabled. We can re-enable monitoring of BCL thermal zones.
Bug: 236930961
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic848bff8824d693904e7a575b8679a7e305275b4
1. GPU 202Mhz thermal throttling is too aggressive and cause frame missing. So, adjust the hardlimit and cdev_ceiling to improve perf.
2. Set the cdev_ceiling for CPU to avoid the abnormal throttling request when ODPM has issue.
Bug: 234998975
Test: Confirm fps drop for pip test
Change-Id: I07b58d4e9412e4389bb7e2bb185ea9da0b18cc13
Part of removing monitoring of BCL thermal zones.
Bug: 234901714
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I470951a6a8676079642c7070687198645a163887
Bug: 234707775
Test: Boot and confirm its monitoring
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I531242c67dfc3d5542f15366f464b28fcbdc0c31
Since all of the BCL tzones are triggered from IRQ, we do not need to
monitor the tzones.
Bug: 197189623
Test: Pts Thermal test passing
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I96a245329e59a19f5baf15992c87a3ea568b7ddf
Update C10 virtual coefficients as per v0.6. No changes for P10
Bug: 232303785
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I2662aba527265d67acb1f5237e550eff75347ca8
Re-enable BATOILO throttling for GPU/TPU to combat over current use
case.
Bug: 231484774
Test: Boot and confirm brownout mitigation for synthetic load
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia46ffd4bb2f5c246f48971aa8d4622b203bef1e7
Update virtual-skin, virtual-skin-charge and cellular-emergency
sensors to 0.5 version coefficients.
Added "Version" field for virtual-skin node for identifying the
version of coefficients.
Bug: 229418131, 227477863
Test: Build and boot on device. Check virtual-skin readings
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I709fa1dfa5304416335bba1a7cb21a267e00c744
Add a virtual sensor for USBC overheat protection and messaging to
UI. Bind overheat protection sensor with USBC cooling device.
Bug: 222577017
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I6f3cdc01fedfd152382a2d5370e22e0acf6cb3ba
Bug: 228808192
Test: Local test to verify no polling
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I6a0a0fa240e199a3ccf47138b3204679fd3f6eed
Add cold temperature policy to combat sharp SOC% drop
Bug: 223420221
Test: Local peak current shock test at cold temperature
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If1db429a6c6c181735af001a72372f63a59d01c4
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.
Bug: 221070649
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7ced6cdcf215738dd50d527f9f58ae4046492b29
Add cellular-emergency sensor with same virtual
coefficients as virtual-skin, but a 54 degC
emergency threshold.
Bug: 216391268
Test: build and boot on device.
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I8d6178b228ffaf31b80341efb4a78e681940bb47
Lower thermal shutdown temeprature to 55 degC to renable
shutdown for all HW revs and usecases
Bug: 204522715
Test: build and boot on device. Run a workload and check
thermal shutdown
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I10ca928cf8639f279b9dcb1d609d0bb8c7ed2c29
Bug: 204271308
Test: Boot and confirm temperature reading
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I10b15a4863dbbc11b9d2149b3fda73f860717a3f
Bug: 197028142
Test: Boot and confirm temperature reading
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If63882cd7335e002a6df51cd6bd1d37f5d8d24e3