提交 dff234d2 编写于 作者: H Huang Rui 提交者: Alex Deucher

drm/amd/powerplay: fix raven issue for sw smu

Raven series doesn't support sw smu so far, so we have to add checking to
confirm it return false while the asic is raven.
Signed-off-by: NHuang Rui <ray.huang@amd.com>
Reviewed-by: NLikun Gao <Likun.Gao@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 df8368be
......@@ -138,7 +138,7 @@ bool is_support_sw_smu(struct amdgpu_device *adev)
if (amdgpu_dpm != 1)
return false;
if (adev->asic_type >= CHIP_VEGA20)
if (adev->asic_type >= CHIP_VEGA20 && adev->asic_type != CHIP_RAVEN)
return true;
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册