OSDN Git Service

drm/amdgpu: extended waiting SRIOV VF reset completion timeout to 10s
authorZhigang Luo <zhigang.luo@amd.com>
Mon, 6 Dec 2021 21:40:24 +0000 (16:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:32:34 +0000 (16:32 -0500)
For the ASIC has big FB, it need more time to clear FB during reset.
This change extended SRIOV VF waiting reset completion timeout from 5s
to 10s.

Signed-off-by: Zhigang Luo <zhigang.luo@amd.com>
Acked-by: Shaoyun Liu <shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h

index bd3b231..f9aa4d0 100644 (file)
@@ -26,7 +26,7 @@
 
 #define AI_MAILBOX_POLL_ACK_TIMEDOUT   500
 #define AI_MAILBOX_POLL_MSG_TIMEDOUT   6000
-#define AI_MAILBOX_POLL_FLR_TIMEDOUT   5000
+#define AI_MAILBOX_POLL_FLR_TIMEDOUT   10000
 #define AI_MAILBOX_POLL_MSG_REP_MAX    11
 
 enum idh_request {