提交 c983361a 编写于 作者: M Monk Liu 提交者: Alex Deucher

drm/amdgpu: sriov is forbidden to call disable DPM

Signed-off-by: NMonk Liu <Monk.Liu@amd.com>
Acked-by: NYintian Tao <yttao@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 2f5a0a91
......@@ -1403,6 +1403,9 @@ static int smu_hw_init(void *handle)
static int smu_stop_dpms(struct smu_context *smu)
{
if (amdgpu_sriov_vf(smu->adev))
return 0;
return smu_system_features_control(smu, false);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册