[PATCH 1/2] drm/amdgpu: return error when sriov access requests get timeout

Yu, Xiangliang Xiangliang.Yu at amd.com
Tue Oct 31 07:48:41 UTC 2017


>@@ -450,7 +450,7 @@ static int xgpu_vi_send_access_requests(struct amdgpu_device *adev,
> 			pr_err("Doesn't get ack from pf, continue\n");

Why don't return error in this place?

 >	}
 >
>-	return 0;
>+	return r;
 >}
 
 static int xgpu_vi_request_reset(struct amdgpu_device *adev)
-- 
2.9.5

_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list