drm/amd/pm: restore fan_mode AMD_FAN_CTRL_NONE on resume (v2)
authorRyan Taylor <Ryan.Taylor@amd.com>
Wed, 28 Jul 2021 19:14:05 +0000 (12:14 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Aug 2021 21:18:13 +0000 (17:18 -0400)
commit5d58f1a52b2e4401ad4970f439ff32ed63989ddb
treebe6daa7d5fe84b6b42091fe20fdb2f3825d3f333
parentfdf8eea5d3bd82b5b2cc387da772299dd9ed6f43
drm/amd/pm: restore fan_mode AMD_FAN_CTRL_NONE on resume (v2)

Adds missing edge case to smu_restore_dpm_user_profile.

v2: Don't restore fan mode auto (Lijo)

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Ryan Taylor <Ryan.Taylor@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c