Closed iwanders closed 6 months ago
I've marked this as ready for review. I cleaned up some comments here and there, and renamed the node in the registry. I've also squashed the commits and put a reasonable commit message / title on it.
@StollD if you have some time, feel free to merge this and add it to the patches. Otherwise I'll try to make some time, but I'm not sure I can get to much before March 15th.
I cherry-picked this to our 6.6 and 6.7 branches. Thank you!
Followup from https://github.com/linux-surface/kernel/pull/144 that adds support to switch the fan profile whenever the platform profile is switched.
Values recorded with IRPMon as sent to the FAN together with the numbers sent to the TMP module:
I've confirmed the changes in this PR using the following methodology;
echo balanced-performance > /sys/firmware/acpi/platform_profile
for normal)stress -c 12
.stress -c 12
after steady state has been reached, plus a bit (didn't time this). Mark time.This obtains us the following fan curves:
We clearly get 4 different fan max speeds, with performance as the highest level.