From 4fe292220c173b875b13d90d6743de4d0930f4b3 Mon Sep 17 00:00:00 2001 From: YiHo Cheng Date: Tue, 14 Jul 2020 14:51:13 +0800 Subject: [PATCH] thermal: Remove camera-critical tz The sensor offset was introduced to resolve the correlation impact for camera use cases so camera-critical tz is not required anymore. Bug: 160294041 Test: check if camera-critical tz was removed. Change-Id: I3a28e8d8f4619685d843a3a6d815bf3b272a0776 --- init.hardware.chamber.rc.userdebug | 2 -- thermal_info_config_redfin.json | 25 ------------------------- 2 files changed, 27 deletions(-) diff --git a/init.hardware.chamber.rc.userdebug b/init.hardware.chamber.rc.userdebug index 2945eaf..8452a7d 100644 --- a/init.hardware.chamber.rc.userdebug +++ b/init.hardware.chamber.rc.userdebug @@ -19,7 +19,6 @@ on property:persist.vendor.disable.thermal.control=1 write /sys/devices/virtual/thermal/tz-by-name/skin-therm-cpu/mode disabled write /sys/devices/virtual/thermal/tz-by-name/skin-therm-monitor/mode disabled write /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/mode disabled - write /sys/devices/virtual/thermal/tz-by-name/camera-critical/mode disabled write /sys/devices/virtual/thermal/tz-by-name/cellular-emergency/mode disabled write /sys/devices/virtual/thermal/tz-by-name/sdm-therm/mode disabled write /sys/devices/virtual/thermal/tz-by-name/usbc-therm-adc/mode disabled @@ -31,7 +30,6 @@ on property:persist.vendor.disable.thermal.control=0 write /sys/devices/virtual/thermal/tz-by-name/skin-therm-cpu/mode enabled write /sys/devices/virtual/thermal/tz-by-name/skin-therm-monitor/mode enabled write /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/mode enabled - write /sys/devices/virtual/thermal/tz-by-name/camera-critical/mode enabled write /sys/devices/virtual/thermal/tz-by-name/cellular-emergency/mode enabled write /sys/devices/virtual/thermal/tz-by-name/sdm-therm/mode enabled write /sys/devices/virtual/thermal/tz-by-name/usbc-therm-adc/mode enabled diff --git a/thermal_info_config_redfin.json b/thermal_info_config_redfin.json index 4eb1a0a..e8556c2 100644 --- a/thermal_info_config_redfin.json +++ b/thermal_info_config_redfin.json @@ -295,31 +295,6 @@ "Multiplier":0.001, "Monitor":true }, - { - "Name":"camera-critical", - "Type":"UNKNOWN", - "HotThreshold":[ - "NAN", - "37.0", - "41.0", - "43.0", - "46.5", - "51.0", - "55.0" - ], - "HotHysteresis":[ - 0.0, - 1.9, - 1.9, - 1.9, - 1.9, - 1.9, - 1.9 - ], - "VrThreshold":"NAN", - "Multiplier":0.001, - "Monitor":true - }, { "Name":"sdm-therm", "Type":"UNKNOWN",