thermal: Increase thermal trip points to 16

Some DT devices, mainly smartphones, do need more trip points
to allow more fine grained thermal mitigations, hence allowing
a better user experience (and overall performance), for example,
by lowering the CPU clocks just a little for each temperature
step.

taken from : f40204b196

Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>

Signed-off-by: ThunderStorms21th <pinakastorm@gmail.com>
This commit is contained in:
ThunderStorms21th 2021-01-03 02:17:21 +01:00 committed by Ksawlii
parent e0c461eb4f
commit 46df2bf46c

View file

@ -19,7 +19,7 @@
#include <uapi/linux/thermal.h>
#define THERMAL_TRIPS_NONE -1
#define THERMAL_MAX_TRIPS 12
#define THERMAL_MAX_TRIPS 16
/* invalid cooling state */
#define THERMAL_CSTATE_INVALID -1UL