File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 16
16
#include "printf.h"
17
17
#include "system.h"
18
18
#include "util.h"
19
+ #include "power.h"
20
+
19
21
20
22
/* True if we're listening to the thermal control task. False if we're setting
21
23
* things manually. */
@@ -592,6 +594,17 @@ static void pwm_fan_stop(void)
592
594
*
593
595
* Thermal control may be already disabled if DPTF is used.
594
596
*/
597
+
598
+ /*
599
+ * Allow the fan to run in S0ix as we have unknown user reports
600
+ * of systems getting warm in this state. Possibly due to windows
601
+ * continuing to run CPU heavy tasks for value added features
602
+ * causing excessive heat.
603
+ */
604
+ if (power_get_state () == POWER_S0ix ||
605
+ power_get_state () == POWER_S0S0ix )
606
+ return ;
607
+
595
608
pwm_fan_control (0 ); /* crosbug.com/p/8097 */
596
609
}
597
610
DECLARE_HOOK (HOOK_CHIPSET_SUSPEND , pwm_fan_stop , HOOK_PRIO_DEFAULT );
You can’t perform that action at this time.
0 commit comments