提交 ecc9b6e1 编写于 作者: G Gavin Wan 提交者: Alex Deucher

drm/amdgpu: Ignore stop rlc on SRIOV environment.

For SRIOV, the guest driver should not do stop rlc. The host
handles programing RLC.

On SRIOV, the stop rlc will be hang (RLC related registers are
blocked by policy) when the RLCG interface is not enabled.
Reviewed-by: NYang Wang <kevinyang.wang@amd.com>
Acked-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NGavin Wan <Gavin.Wan@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 4864f2ee
...@@ -1518,7 +1518,7 @@ static int smu_disable_dpms(struct smu_context *smu) ...@@ -1518,7 +1518,7 @@ static int smu_disable_dpms(struct smu_context *smu)
} }
if (adev->ip_versions[GC_HWIP][0] >= IP_VERSION(9, 4, 2) && if (adev->ip_versions[GC_HWIP][0] >= IP_VERSION(9, 4, 2) &&
adev->gfx.rlc.funcs->stop) !amdgpu_sriov_vf(adev) && adev->gfx.rlc.funcs->stop)
adev->gfx.rlc.funcs->stop(adev); adev->gfx.rlc.funcs->stop(adev);
return ret; return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册