Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2641e38b authored by Monk Liu's avatar Monk Liu Committed by Alex Deucher
Browse files

drm/amdgpu:RUNTIME flag should clr later



this flag will get cleared by request gpu access

Signed-off-by: default avatarMonk Liu <Monk.Liu@amd.com>
Reviewed-by: default avatarXiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 480da262
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
	}