mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-04-29 02:37:19 +09:00
miatoll: Add thermal configs
Change-Id: I877ce6812ce90e386b88c3b348d4a54681c79101
This commit is contained in:
parent
35b578d6dc
commit
b5b68cdf68
66
configs/thermal-engine-curtana.conf
Normal file
66
configs/thermal-engine-curtana.conf
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
[SS-SKIN-HIGH-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 43000
|
||||||
|
set_point_clr 42000
|
||||||
|
device_max_limit 1555200
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[SS-SKIN-LOW-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 45000
|
||||||
|
set_point_clr 44000
|
||||||
|
device_max_limit 1324800
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[HOT-SKIN-VIRTUAL]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor quiet-therm-usr
|
||||||
|
sensors gpuss-0-usr cpuss-0-usr
|
||||||
|
list_cnt 2
|
||||||
|
weights 1 -1
|
||||||
|
thresholds 45000
|
||||||
|
thresholds_clr 43000
|
||||||
|
sampling 1000
|
||||||
|
math 0
|
||||||
|
|
||||||
|
[VIRTUAL-SS-GPU-SKIN]
|
||||||
|
algo_type ss
|
||||||
|
sensor HOT-SKIN-VIRTUAL
|
||||||
|
device gpu
|
||||||
|
sampling 1000
|
||||||
|
set_point 8000
|
||||||
|
set_point_clr 2000
|
||||||
|
device_max_limit 565000000
|
||||||
|
|
||||||
|
[SKIN-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 48000 49000 50000 61000
|
||||||
|
thresholds_clr 47000 48000 49000 60000
|
||||||
|
actions cpu0+cpu7+gpu cpu0+cpu7+gpu cpu0+cpu7+gpu shutdown
|
||||||
|
action_info 1248000+1555200+565000000 1017600+1113600+430000000 768000+825600+267000000 1
|
||||||
|
|
||||||
|
[BATTERY-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 36000 37000 38000 40000 41000 42000 43000
|
||||||
|
thresholds_clr 35000 36000 37000 39000 40000 41000 42000
|
||||||
|
actions battery battery battery battery battery battery battery
|
||||||
|
action_info 1 2 3 4 5 6 8
|
||||||
|
|
||||||
|
[MODEM-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 50000 54000 56000
|
||||||
|
thresholds_clr 48000 52000 54000
|
||||||
|
actions modem+modem_proc modem+modem_proc modem+modem_proc
|
||||||
|
action_info 1+1 1+2 3+3
|
66
configs/thermal-engine-excalibur.conf
Normal file
66
configs/thermal-engine-excalibur.conf
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
[SS-SKIN-HIGH-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 43000
|
||||||
|
set_point_clr 42000
|
||||||
|
device_max_limit 1555200
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[SS-SKIN-LOW-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 45000
|
||||||
|
set_point_clr 44000
|
||||||
|
device_max_limit 1324800
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[HOT-SKIN-VIRTUAL]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor quiet-therm-usr
|
||||||
|
sensors gpuss-0-usr cpuss-0-usr
|
||||||
|
list_cnt 2
|
||||||
|
weights 1 -1
|
||||||
|
thresholds 45000
|
||||||
|
thresholds_clr 43000
|
||||||
|
sampling 1000
|
||||||
|
math 0
|
||||||
|
|
||||||
|
[VIRTUAL-SS-GPU-SKIN]
|
||||||
|
algo_type ss
|
||||||
|
sensor HOT-SKIN-VIRTUAL
|
||||||
|
device gpu
|
||||||
|
sampling 1000
|
||||||
|
set_point 8000
|
||||||
|
set_point_clr 2000
|
||||||
|
device_max_limit 565000000
|
||||||
|
|
||||||
|
[SKIN-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 48000 49000 50000 61000
|
||||||
|
thresholds_clr 47000 48000 49000 60000
|
||||||
|
actions cpu0+cpu7+gpu cpu0+cpu7+gpu cpu0+cpu7+gpu shutdown
|
||||||
|
action_info 1248000+1555200+565000000 1017600+1113600+430000000 768000+825600+267000000 1
|
||||||
|
|
||||||
|
[BATTERY-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 37000 38000 39000 40000 41000 42000 43000
|
||||||
|
thresholds_clr 36000 37000 38000 39000 40000 41000 42000
|
||||||
|
actions battery battery battery battery battery battery battery
|
||||||
|
action_info 2 6 9 11 13 14 15
|
||||||
|
|
||||||
|
[MODEM-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 50000 54000 56000
|
||||||
|
thresholds_clr 48000 52000 54000
|
||||||
|
actions modem+modem_proc modem+modem_proc modem+modem_proc
|
||||||
|
action_info 1+1 1+2 3+3
|
66
configs/thermal-engine-gram.conf
Normal file
66
configs/thermal-engine-gram.conf
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
[SS-SKIN-HIGH-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 43000
|
||||||
|
set_point_clr 42000
|
||||||
|
device_max_limit 1555200
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[SS-SKIN-LOW-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 45000
|
||||||
|
set_point_clr 44000
|
||||||
|
device_max_limit 1324800
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[HOT-SKIN-VIRTUAL]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor quiet-therm-usr
|
||||||
|
sensors gpuss-0-usr cpuss-0-usr
|
||||||
|
list_cnt 2
|
||||||
|
weights 1 -1
|
||||||
|
thresholds 45000
|
||||||
|
thresholds_clr 43000
|
||||||
|
sampling 1000
|
||||||
|
math 0
|
||||||
|
|
||||||
|
[VIRTUAL-SS-GPU-SKIN]
|
||||||
|
algo_type ss
|
||||||
|
sensor HOT-SKIN-VIRTUAL
|
||||||
|
device gpu
|
||||||
|
sampling 1000
|
||||||
|
set_point 8000
|
||||||
|
set_point_clr 2000
|
||||||
|
device_max_limit 565000000
|
||||||
|
|
||||||
|
[SKIN-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 48000 49000 50000 61000
|
||||||
|
thresholds_clr 47000 48000 49000 60000
|
||||||
|
actions cpu0+cpu7+gpu cpu0+cpu7+gpu cpu0+cpu7+gpu shutdown
|
||||||
|
action_info 1248000+1555200+565000000 1017600+1113600+430000000 768000+825600+267000000 1
|
||||||
|
|
||||||
|
[BATTERY-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 37000 38000 39000 40000 41000 42000 43000
|
||||||
|
thresholds_clr 36000 37000 38000 39000 40000 41000 42000
|
||||||
|
actions battery battery battery battery battery battery battery
|
||||||
|
action_info 2 6 9 11 13 14 15
|
||||||
|
|
||||||
|
[MODEM-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 50000 54000 56000
|
||||||
|
thresholds_clr 48000 52000 54000
|
||||||
|
actions modem+modem_proc modem+modem_proc modem+modem_proc
|
||||||
|
action_info 1+1 1+2 3+3
|
66
configs/thermal-engine-joyeuse.conf
Normal file
66
configs/thermal-engine-joyeuse.conf
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
[SS-SKIN-HIGH-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 43000
|
||||||
|
set_point_clr 42000
|
||||||
|
device_max_limit 1555200
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[SS-SKIN-LOW-CPU7]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
device cpu7
|
||||||
|
set_point 45000
|
||||||
|
set_point_clr 44000
|
||||||
|
device_max_limit 1324800
|
||||||
|
time_constant 0
|
||||||
|
|
||||||
|
[HOT-SKIN-VIRTUAL]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor quiet-therm-usr
|
||||||
|
sensors gpuss-0-usr cpuss-0-usr
|
||||||
|
list_cnt 2
|
||||||
|
weights 1 -1
|
||||||
|
thresholds 45000
|
||||||
|
thresholds_clr 43000
|
||||||
|
sampling 1000
|
||||||
|
math 0
|
||||||
|
|
||||||
|
[VIRTUAL-SS-GPU-SKIN]
|
||||||
|
algo_type ss
|
||||||
|
sensor HOT-SKIN-VIRTUAL
|
||||||
|
device gpu
|
||||||
|
sampling 1000
|
||||||
|
set_point 8000
|
||||||
|
set_point_clr 2000
|
||||||
|
device_max_limit 565000000
|
||||||
|
|
||||||
|
[SKIN-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 48000 49000 50000 61000
|
||||||
|
thresholds_clr 47000 48000 49000 60000
|
||||||
|
actions cpu0+cpu7+gpu cpu0+cpu7+gpu cpu0+cpu7+gpu shutdown
|
||||||
|
action_info 1248000+1555200+565000000 1017600+1113600+430000000 768000+825600+267000000 1
|
||||||
|
|
||||||
|
[BATTERY-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 37000 38000 39000 40000 41000 42000 43000
|
||||||
|
thresholds_clr 36000 37000 38000 39000 40000 41000 42000
|
||||||
|
actions battery battery battery battery battery battery battery
|
||||||
|
action_info 2 6 8 9 11 13 14
|
||||||
|
|
||||||
|
[MODEM-MONITOR]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor quiet-therm-usr
|
||||||
|
thresholds 50000 54000 56000
|
||||||
|
thresholds_clr 48000 52000 54000
|
||||||
|
actions modem+modem_proc modem+modem_proc modem+modem_proc
|
||||||
|
action_info 1+1 1+2 3+3
|
@ -45,6 +45,13 @@ PRODUCT_PACKAGES += \
|
|||||||
PRODUCT_SOONG_NAMESPACES += \
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
$(LOCAL_PATH)
|
$(LOCAL_PATH)
|
||||||
|
|
||||||
|
# Thermal
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/configs/thermal-engine-curtana.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-curtana.conf \
|
||||||
|
$(LOCAL_PATH)/configs/thermal-engine-excalibur.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-excalibur.conf \
|
||||||
|
$(LOCAL_PATH)/configs/thermal-engine-gram.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-gram.conf \
|
||||||
|
$(LOCAL_PATH)/configs/thermal-engine-joyeuse.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-joyeuse.conf
|
||||||
|
|
||||||
# Inherit from sm6250-common
|
# Inherit from sm6250-common
|
||||||
$(call inherit-product, device/xiaomi/sm6250-common/atoll.mk)
|
$(call inherit-product, device/xiaomi/sm6250-common/atoll.mk)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user