drm/amdgpu: disable smu hw first on tear down
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Oct 2016 15:22:17 +0000 (11:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Oct 2016 15:51:33 +0000 (11:51 -0400)
commit3e96dbfd5899c562e08c7ff27e5d5b21bb218e8a
tree0845e1f97f131a5ad715701b7656b0adc31d4e6c
parentda146d3b5262c1866c868b9dec1bd0f834d6ded6
drm/amdgpu: disable smu hw first on tear down

Otherwise, you can't disable dpm.

Tested-by and Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c