summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKrishna Chomal <krishna.chomal108@gmail.com>2026-01-13 18:07:38 +0530
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-01-15 14:26:38 +0200
commitc203c59fb5de1b1b8947d61176e868da1130cbeb (patch)
tree3e10940ec91bc3adef9b68a64b2558f376fbdc2f /include
parent46be1453e6e61884b4840a768d1e8ffaf01a4c1c (diff)
platform/x86: hp-wmi: implement fan keep-alive
The firmware on some HP laptops automatically reverts the fan speed control to "Auto" mode after a 120 second timeout window. To ensure that the user-selected fan profile (Max/Manual) persists, implement a keep-alive mechanism that periodically refreshes the fan mode trigger before the timeout occurs. - Introduce a delayed workqueue to trigger the fan mode refresh every 90 seconds, ensuring the system maintains the correct fan mode setting. - Integrate the refresh mechanism into hp_wmi_apply_fan_settings() to start, update or cancel the keep-alive process based on the current fan mode. This ensures that the driver stays in sync with the hardware. Tested on: HP Omen 16-wf1xxx (board ID 8C78) Signed-off-by: Krishna Chomal <krishna.chomal108@gmail.com> Link: https://patch.msgid.link/20260113123738.222244-4-krishna.chomal108@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions