drm/amdgpu: ungate SMC clockgating first before suspend
authorFlora Cui <Flora.Cui@amd.com>
Fri, 26 Feb 2016 02:45:25 +0000 (10:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:27:39 +0000 (20:27 -0400)
commitc5a93a282f09a79d86f4299c03fdf032abec7252
tree95930866069b1bd47d378d89a1a11341f82dafad
parentf4bfffddd705bc57f92bdd6c96dd04dbe16a90a8
drm/amdgpu: ungate SMC clockgating first before suspend

46c34bcb6a15dd85329a39a5e72c62108626acdc put all block’s clockgating
support in SMC. The sequence in suspend routine should be adjusted
accordingly, otherwise it causes asic hang.

Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c