diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2016-11-28 21:44:51 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-11-29 22:34:11 +0000 |
| commit | cb91fef1b71954e3edc79fb4171b43f6aa2028c7 (patch) | |
| tree | 5747beae6c5944d1f4cd083eef43104dc4a67751 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | thermal/intel_powerclamp: Convert the kthread to kthread worker API (diff) | |
| download | kernel-cb91fef1b71954e3edc79fb4171b43f6aa2028c7.tar.gz kernel-cb91fef1b71954e3edc79fb4171b43f6aa2028c7.zip | |
thermal/intel_powerclamp: Convert to CPU hotplug state
This is a conversation to the new hotplug state machine with
the difference that CPU_DEAD becomes CPU_PREDOWN.
At the same time it makes the handling of the two states symmetrical.
stop_power_clamp_worker() is called unconditionally and the controversial
error message is removed.
Finally, the hotplug state callbacks are removed after the powerclamping
is stopped to avoid a potential race.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
[[email protected]: Fixed the possible race in powerclamp_exit()]
Signed-off-by: Petr Mladek <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
