drm/amd/powerplay/rv: power up/down sdma via the SMU
authorChunming Zhou <David1.Zhou@amd.com>
Fri, 10 Mar 2017 06:48:09 +0000 (14:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:41:53 +0000 (17:41 -0400)
commit401b58ceb598aca618c8df4ce99cb2a7100aa39b
tree0f864b39cf80d970eb3be9a2ae490e56fc4ee22c
parenta960d61cbd62544c04adb4fe6513577601ff4535
drm/amd/powerplay/rv: power up/down sdma via the SMU

sdma is powered down by default in vbios,
need to power up in driver init.  Power it down
again on driver tear down.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c