drm/amdgpu: update vf to pf message retry from 2 to 5

increase retry times to wait host has enough time to complete reset.

Signed-off-by: Zhigang Luo <Zhigang.Luo@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Zhigang Luo
2024-05-02 15:40:38 -04:00
committed by Alex Deucher
parent 3bcc0ee147
commit f5007c67fc
+1 -1
View File
@@ -181,7 +181,7 @@ send_request:
if (event != -1) {
r = xgpu_nv_poll_msg(adev, event);
if (r) {
if (retry++ < 2)
if (retry++ < 5)
goto send_request;
if (req != IDH_REQ_GPU_INIT_DATA) {