提交 2641e38b 编写于 作者: M Monk Liu 提交者: Alex Deucher

drm/amdgpu:RUNTIME flag should clr later

this flag will get cleared by request gpu access
Signed-off-by: NMonk Liu <Monk.Liu@amd.com>
Reviewed-by: NXiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 480da262
......@@ -505,9 +505,7 @@ static void xgpu_vi_mailbox_flr_work(struct work_struct *work)
struct amdgpu_device *adev = container_of(virt, struct amdgpu_device, virt);
/* wait until RCV_MSG become 3 */
if (!xgpu_vi_poll_msg(adev, IDH_FLR_NOTIFICATION_CMPL))
adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME;
else {
if (xgpu_vi_poll_msg(adev, IDH_FLR_NOTIFICATION_CMPL)) {
pr_err("failed to recieve FLR_CMPL\n");
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册