Skip to content

Commit

Permalink
drm/amd/powerplay: limit smu support to Arcturus for onevf
Browse files Browse the repository at this point in the history
Under onevf mode the smu support to other chips is not well
verified yet.

Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Jiansong Chen authored and Alex Deucher committed Apr 22, 2020
1 parent 7aba191 commit f9b93c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,10 @@ bool is_support_sw_smu(struct amdgpu_device *adev)
if (adev->asic_type == CHIP_VEGA20)
return (amdgpu_dpm == 2) ? true : false;
else if (adev->asic_type >= CHIP_ARCTURUS) {
if (amdgpu_sriov_vf(adev)&& !amdgpu_sriov_is_pp_one_vf(adev))
if (amdgpu_sriov_vf(adev) &&
!(adev->asic_type == CHIP_ARCTURUS &&
amdgpu_sriov_is_pp_one_vf(adev)))

return false;
else
return true;
Expand Down

0 comments on commit f9b93c9

Please sign in to comment.