kunlun2: Partially revert "Drop android.hardware.thermal HAL"
We still need thermal engine
This partially reverts commit 11d6885d93
.
This commit is contained in:
parent
850f0539ad
commit
1f26a4e822
3 changed files with 113 additions and 0 deletions
107
configs/thermal-engine.conf
Normal file
107
configs/thermal-engine.conf
Normal file
|
@ -0,0 +1,107 @@
|
||||||
|
[MSM-THERM0-0]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu0
|
||||||
|
set_point 50000
|
||||||
|
set_point_clr 48000
|
||||||
|
device_max_limit 1612800
|
||||||
|
|
||||||
|
[MSM-THERM0-1]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu0
|
||||||
|
set_point 52000
|
||||||
|
set_point_clr 50000
|
||||||
|
device_max_limit 1516800
|
||||||
|
|
||||||
|
[MSM-THERM0-2]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu0
|
||||||
|
set_point 54000
|
||||||
|
set_point_clr 52000
|
||||||
|
device_max_limit 1324800
|
||||||
|
|
||||||
|
[MSM-THERM0-PERF]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu0
|
||||||
|
set_point 54000
|
||||||
|
set_point_clr 52000
|
||||||
|
device_max_limit 1708800
|
||||||
|
|
||||||
|
[MSM-THERM1-0]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu6
|
||||||
|
set_point 50000
|
||||||
|
set_point_clr 48000
|
||||||
|
device_max_limit 2054400
|
||||||
|
|
||||||
|
[MSM-THERM1-1]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu6
|
||||||
|
set_point 52000
|
||||||
|
set_point_clr 50000
|
||||||
|
device_max_limit 1843200
|
||||||
|
|
||||||
|
[MSM-THERM1-2]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu6
|
||||||
|
set_point 54000
|
||||||
|
set_point_clr 52000
|
||||||
|
device_max_limit 1747200
|
||||||
|
|
||||||
|
[MSM-THERM1-3]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu6
|
||||||
|
set_point 56000
|
||||||
|
set_point_clr 54000
|
||||||
|
device_max_limit 1536000
|
||||||
|
|
||||||
|
[MSM-THERM1-PERF]
|
||||||
|
algo_type ss
|
||||||
|
sampling 100
|
||||||
|
sensor msm-therm-adc
|
||||||
|
device cpu6
|
||||||
|
set_point 56000
|
||||||
|
set_point_clr 54000
|
||||||
|
device_max_limit 2054400
|
||||||
|
|
||||||
|
[SS-GPU]
|
||||||
|
algo_type ss
|
||||||
|
sampling 250
|
||||||
|
sensor gpu0-usr
|
||||||
|
device gpu
|
||||||
|
set_point 85000
|
||||||
|
set_point_clr 60000
|
||||||
|
|
||||||
|
|
||||||
|
[MODEM_PROC_TEMP_MITIGATION]
|
||||||
|
disable 1
|
||||||
|
|
||||||
|
[MODEM_PA_MITIGATION]
|
||||||
|
disable 1
|
||||||
|
|
||||||
|
[CAMERA_SKIN_EXIT_MITIGATION]
|
||||||
|
disable 1
|
||||||
|
|
||||||
|
[BATTERY_CHARGING_CTL]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor xo-therm-adc
|
||||||
|
thresholds 40000 42000 44000 46000 48000
|
||||||
|
thresholds_clr 40000 42000 44000 46000 48000
|
||||||
|
actions battery battery battery battery battery
|
||||||
|
action_info 1 2 3 4 5
|
|
@ -342,6 +342,10 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
TetheringConfigOverlay
|
TetheringConfigOverlay
|
||||||
|
|
||||||
|
# Thermal engine
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf
|
||||||
|
|
||||||
# Tracing
|
# Tracing
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.atrace@1.0-service.pixel
|
android.hardware.atrace@1.0-service.pixel
|
||||||
|
|
|
@ -1258,7 +1258,9 @@ vendor/lib/libtime_genoff.so|9f1e0fd1180207b3df81aa65c319b0d5a467d74c
|
||||||
# Thermal
|
# Thermal
|
||||||
vendor/bin/thermal-engine
|
vendor/bin/thermal-engine
|
||||||
vendor/lib/libthermalclient.so
|
vendor/lib/libthermalclient.so
|
||||||
|
vendor/lib/hw/thermal.sdm710.so
|
||||||
vendor/lib64/libthermalclient.so
|
vendor/lib64/libthermalclient.so
|
||||||
|
vendor/lib64/hw/thermal.sdm710.so
|
||||||
|
|
||||||
# Trusted Execution Environment connector - from LA.UM.9.8.r1-02700-SDM710.0
|
# Trusted Execution Environment connector - from LA.UM.9.8.r1-02700-SDM710.0
|
||||||
vendor/bin/hw/vendor.qti.hardware.qteeconnector@1.0-service|f8dc88c7166ffc2c1d997e7d5f16a8eb69c37cfc
|
vendor/bin/hw/vendor.qti.hardware.qteeconnector@1.0-service|f8dc88c7166ffc2c1d997e7d5f16a8eb69c37cfc
|
||||||
|
|
Loading…
Reference in a new issue