Commit c983361a authored by Monk Liu's avatar Monk Liu Committed by Alex Deucher

drm/amdgpu: sriov is forbidden to call disable DPM

Signed-off-by: default avatarMonk Liu <Monk.Liu@amd.com>
Acked-by: default avatarYintian Tao <yttao@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment