drm/amdgpu:fix powerplay logic
authorMonk Liu <Monk.Liu@amd.com>
Wed, 25 Jan 2017 07:55:30 +0000 (15:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:37 +0000 (23:52 -0400)
commit8fdf26925897974b71283014eb09c57e7e0d2ed8
tree091a719807c0c833f7f3ac63b2941fa1f9e2c45f
parent1d7b17b09fc87b0c30ca002a62cabcecc36d0704
drm/amdgpu:fix powerplay logic

1,like pp_hw_init, we shouldn't report error if PP disabled
2,disable pp_en if sriov

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c