]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu/sriov:increate mailbox polling timeout
authorHorace Chen <horace.chen@amd.com>
Wed, 28 Jun 2017 09:51:50 +0000 (17:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:12 +0000 (15:14 -0400)
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: Horace Chen <horace.chen@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h

index 1e91b9a1c59150f6bc86101cb0339bdb3a0abf5a..67e78576a9eb8ad4f708df2daea122cf641562fd 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef __MXGPU_AI_H__
 #define __MXGPU_AI_H__
 
-#define AI_MAILBOX_TIMEDOUT    5000
+#define AI_MAILBOX_TIMEDOUT    12000
 
 enum idh_request {
        IDH_REQ_GPU_INIT_ACCESS = 1,
index c791d73d2d542cc368def9b227ebff3c1a6e8e62..f13dc6cc158f959778c71df70e291439782e5958 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __MXGPU_VI_H__
 #define __MXGPU_VI_H__
 
-#define VI_MAILBOX_TIMEDOUT    5000
+#define VI_MAILBOX_TIMEDOUT    12000
 #define VI_MAILBOX_RESET_TIME  12
 
 /* VI mailbox messages request */