Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Android Source
Vendor Blobs
vendor_xiaomi_whyred
Commits
29ae0558
Unverified
Commit
29ae0558
authored
Mar 21, 2021
by
Edwin Moquete
Committed by
Abdul Mondal
Nov 13, 2021
Browse files
whyred: Move thermal configs to device tree
parent
a998aa39
Changes
3
Hide whitespace changes
Inline
Side-by-side
proprietary/vendor/etc/thermal-engine-map.conf
deleted
100644 → 0
View file @
a998aa39
[
0
:
thermal
-
engine
-
normal
.
conf
]
[
1
:
thermal
-
engine
-
high
.
conf
]
[
2
:
thermal
-
engine
-
extreme
.
conf
]
[
8
:
thermal
-
engine
-
phone
.
conf
]
[
9
:
thermal
-
engine
-
sgame
.
conf
]
[
10
:
thermal
-
engine
-
nolimits
.
conf
]
[
11
:
thermal
-
engine
-
class0
.
conf
]
[
12
:
thermal
-
engine
-
camera
.
conf
]
[
13
:
thermal
-
engine
-
pubgmhd
.
conf
]
[
14
:
thermal
-
engine
-
youtobe
.
conf
]
[
15
:
thermal
-
engine
-
arvr
.
conf
]
[
16
:
thermal
-
engine
-
tgame
.
conf
]
proprietary/vendor/etc/thermal-engine-normal.conf
deleted
100644 → 0
View file @
a998aa39
# SENSOR : ALIAS
# tsens_tz_sensor8 : gpu
# tsens_tz_sensor6 : cpu7
# tsens_tz_sensor5 : cpu6
# tsens_tz_sensor4 : cpu5
# tsens_tz_sensor3 : cpu4
# tsens_tz_sensor1 : cpu0-cpu1-cpu2-cpu3
#debug
#Conf file: vendor/etc/thermal-engine-normal.conf (in)
[
VIRTUAL
-
CPU
-
MAX
]
algo_type
virtual
trip_sensor
tsens_tz_sensor1
set_point
48000
set_point_clr
45000
sensors
tsens_tz_sensor1
tsens_tz_sensor2
tsens_tz_sensor3
tsens_tz_sensor4
tsens_tz_sensor5
tsens_tz_sensor6
tsens_tz_sensor7
tsens_tz_sensor12
weights
sampling
5000
math
2
[
VIRTUAL
-
LCDON
-
CHARGE
]
algo_type
virtual
trip_sensor
backlight_therm
set_point
38000
set_point_clr
35000
sensors
quiet_therm
weights
sampling
1000
math
2
[
VIRTUAL
-
MSM
-
35
]
algo_type
virtual
trip_sensor
backlight_therm
set_point
44000
set_point_clr
40000
sensors
quiet_therm
weights
sampling
1000
math
2
[
VIRTUAL
-
CLUSTER1
]
algo_type
virtual
trip_sensor
tsens_tz_sensor3
set_point
60000
set_point_clr
50000
sensors
tsens_tz_sensor3
tsens_tz_sensor4
tsens_tz_sensor5
tsens_tz_sensor6
tsens_tz_sensor7
tsens_tz_sensor12
weights
sampling
10
math
2
[
VIRTUAL
-
CLUSTER0
]
algo_type
virtual
trip_sensor
tsens_tz_sensor1
set_point
60000
set_point_clr
50000
sensors
tsens_tz_sensor1
tsens_tz_sensor2
weights
sampling
10
math
2
[
SS
-
QUIET
-
THERM
-
SILVER
]
algo_type
ss
sampling
2000
sensor
quiet_therm
device
cluster0
set_point
45000
set_point_clr
43000
time_constant
0
device_max_limit
902400
[
SS
-
QUIET
-
THERM
-
GOLD
]
algo_type
ss
sampling
2000
sensor
quiet_therm
device
cluster1
set_point
46000
set_point_clr
44000
time_constant
0
device_max_limit
1747200
[
SS
-
GPU
]
algo_type
ss
sampling
10
sensor
gpu
device
gpu
set_point
95000
set_point_clr
65000
time_constant
0
[
SPEAKER
-
CAL
]
sampling
30000
30000
10
1800000
sensor
pm660_tz
sensors
tsens_tz_sensor8
tsens_tz_sensor9
tsens_tz_sensor10
tsens_tz_sensor11
tsens_tz_sensor13
temp_range
6000
10000
2000
max_temp
45000
offset
-
4000
[
LCD_MANAGEMENT
]
algo_type
monitor
sampling
1000
sensor
backlight_therm
thresholds
45000
46000
47000
48000
thresholds_clr
44000
45000
46000
47000
actions
lcd
lcd
lcd
lcd
action_info
3360
3168
2976
2800
[
BATTERY_CHARGING_CTL_STANDBY
]
algo_type
monitor
sampling
10000
sensor
quiet_therm
thresholds
39000
thresholds_clr
38000
actions
battery
action_info
2
[
BATTERY_CHARGING_CTL
]
algo_type
monitor
sampling
10000
sensor
VIRTUAL
-
LCDON
-
CHARGE
thresholds
45000
47000
thresholds_clr
43000
45000
actions
battery
battery
action_info
5
6
[
BATTERY_CHARGING_CTL_CPU
]
algo_type
monitor
sampling
5000
sensor
VIRTUAL
-
CPU
-
MAX
thresholds
50000
53000
thresholds_clr
48000
51000
actions
battery
battery
action_info
3
4
[
MONITOR_QUIET_THERM_HOTPLUG
]
algo_type
monitor
sampling
1000
sensor
quiet_therm
thresholds
44000
47000
48000
50000
thresholds_clr
42000
45000
46000
48000
actions
hotplug_3
+
hotplug_4
+
hotplug_5
+
hotplug_6
hotplug_3
+
hotplug_4
+
hotplug_5
+
hotplug_6
hotplug_3
+
hotplug_4
+
hotplug_5
+
hotplug_6
hotplug_3
+
hotplug_4
+
hotplug_5
+
hotplug_6
action_info
0
+
0
+
1
+
0
0
+
1
+
1
+
0
1
+
1
+
1
+
0
1
+
1
+
1
+
1
[
VDD_RSTR_MONITOR
-
TSENS13
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor13
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS12
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor12
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS11
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor11
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS10
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor10
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS9
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor9
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS8
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor8
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS7
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor7
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS6
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor6
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS5
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor5
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS4
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor4
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS3
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor3
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS2
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor2
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS1
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor1
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
[
VDD_RSTR_MONITOR
-
TSENS0
]
algo_type
monitor
sampling
1000
sensor
tsens_tz_sensor0
thresholds
5000
thresholds_clr
10000
actions
vdd_restriction
action_info
1
descending
proprietary/vendor/etc/thermal-engine.conf
deleted
100644 → 0
View file @
a998aa39
# File empty by default.
# Replace contents of this file with custom configuration.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment