Commit 086e1c56 authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher

drm/amd/powerplay: update is_sw_smu_xgmi check

Add check for is_sw_smu routine and drop check
for amdgpu_dpm which seems non-sense.
Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 39ea6e5f
...@@ -526,7 +526,7 @@ bool is_support_sw_smu(struct amdgpu_device *adev) ...@@ -526,7 +526,7 @@ bool is_support_sw_smu(struct amdgpu_device *adev)
bool is_support_sw_smu_xgmi(struct amdgpu_device *adev) bool is_support_sw_smu_xgmi(struct amdgpu_device *adev)
{ {
if (amdgpu_dpm != 1) if (!is_support_sw_smu(adev))
return false; return false;
if (adev->asic_type == CHIP_VEGA20) if (adev->asic_type == CHIP_VEGA20)
......
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