drm/amd/powerplay: do proper cleanups on hw_fini
authorEvan Quan <evan.quan@amd.com>
Mon, 2 Sep 2019 04:37:23 +0000 (12:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:36:52 +0000 (17:36 -0500)
commitfaa695c715e5c9203af824315127037499b33921
treeeee4c3261dfeffa27736b9a52770f77f3f34ae50
parentc66846e069dec317b45a0a4b112d4cd7d885509e
drm/amd/powerplay: do proper cleanups on hw_fini

These are needed for smu_reset support.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c