drm/amdgpu: enable mmhub power gating
authorKenneth Feng <kenneth.feng@amd.com>
Mon, 20 Aug 2018 07:39:32 +0000 (15:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:35:44 +0000 (09:35 -0500)
commit91468057d39ec08ae8389a91436be2c019a1ac36
tree0ec5bce6a6d271ef2650dba14e696d896d3b207d
parenta4494fda32adb4e8d7441f680219b6e99ffbf6e7
drm/amdgpu: enable mmhub power gating

Remove some functions due to the design change.
All the mmhub power gating sequence is moved to
smu fw.Driver sends the message to enable mmhub
powergating.We can also skip the fw version check
since the old fw version is in a very early stage
and we don't use that fw for release.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h
drivers/gpu/drm/amd/amdgpu/soc15.c