提交 6e132ca0 编写于 作者: H Horace Chen 提交者: Alex Deucher

drm/amdgpu/sriov:increate mailbox polling timeout

increase timeout to 12 seconds,because there may have multiple
FLR waiting for done, the waiting time of events may be long,
increase to 12s to reduce timeout failure.
Signed-off-by: NHorace Chen <horace.chen@amd.com>
Acked-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 030308fc
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#ifndef __MXGPU_AI_H__ #ifndef __MXGPU_AI_H__
#define __MXGPU_AI_H__ #define __MXGPU_AI_H__
#define AI_MAILBOX_TIMEDOUT 5000 #define AI_MAILBOX_TIMEDOUT 12000
enum idh_request { enum idh_request {
IDH_REQ_GPU_INIT_ACCESS = 1, IDH_REQ_GPU_INIT_ACCESS = 1,
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#ifndef __MXGPU_VI_H__ #ifndef __MXGPU_VI_H__
#define __MXGPU_VI_H__ #define __MXGPU_VI_H__
#define VI_MAILBOX_TIMEDOUT 5000 #define VI_MAILBOX_TIMEDOUT 12000
#define VI_MAILBOX_RESET_TIME 12 #define VI_MAILBOX_RESET_TIME 12
/* VI mailbox messages request */ /* VI mailbox messages request */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册