drm/amdgpu: Set clock ungate state when suspend/fini
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 14 Aug 2018 09:28:46 +0000 (17:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:01 +0000 (11:11 -0500)
commitfdd34271a321e20358ba8825c59d367e75f313fa
treeff2b76ee2ec1e66ba15ab2a559bac5347d0404f6
parent05df1f01b2924d2e1737deeb63ad115c1df19021
drm/amdgpu: Set clock ungate state when suspend/fini

After set power ungate state, set clock ungate state
before when suspend or fini.

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