]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd22f9b498cc2bc47718f20ec6ed92bd3d44bd02e
tree091a719807c0c833f7f3ac63b2941fa1f9e2c45f
parent858d69b860eb5f87a9e6161b7e753ba2704b7db1
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