drm/amdgpu: sriov is forbidden to call disable DPM
Signed-off-by: Monk Liu <Monk.Liu@amd.com> Acked-by: Yintian Tao <yttao@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2f5a0a9119
commit
c983361a72
|
@ -1403,6 +1403,9 @@ failed:
|
|||
|
||||
static int smu_stop_dpms(struct smu_context *smu)
|
||||
{
|
||||
if (amdgpu_sriov_vf(smu->adev))
|
||||
return 0;
|
||||
|
||||
return smu_system_features_control(smu, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue