hardkernel / linux

Linux kernel source tree
Other
427 stars 408 forks source link

Enable per cpu thermal trips #275

Closed Emerald-Phoenix closed 7 years ago

Emerald-Phoenix commented 7 years ago

Enables per cpu thermal trips without needing to duplicate the trips or cooling maps for each thermal zone by moving them into a separate file, then using the C preprocessor to generate the unique labels required for each thermal zone. This allows for easy expansion to other thermal zones as required with minimal work.

Patch also tweaks thermal trips slightly to better utilise cooling performance. A15's more progressively throttle to improve average clockspeed while keeping temps typically under 90C for active cooling with a heavy load. A7's are throttled later as their thermal contribution is low so keeping them clocked up improves efficiency on long workloads with their speed only reduced once thermals really require it to ensure thermal safety.

bkrepo commented 7 years ago

http://forum.odroid.com/viewtopic.php?f=146&t=26100