Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Horace Chen <horace.chen@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Horace Chen and committed by
Alex Deucher
6e132ca0 030308fc

+2 -2
+1 -1
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
··· 24 24 #ifndef __MXGPU_AI_H__ 25 25 #define __MXGPU_AI_H__ 26 26 27 - #define AI_MAILBOX_TIMEDOUT 5000 27 + #define AI_MAILBOX_TIMEDOUT 12000 28 28 29 29 enum idh_request { 30 30 IDH_REQ_GPU_INIT_ACCESS = 1,
+1 -1
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.h
··· 23 23 #ifndef __MXGPU_VI_H__ 24 24 #define __MXGPU_VI_H__ 25 25 26 - #define VI_MAILBOX_TIMEDOUT 5000 26 + #define VI_MAILBOX_TIMEDOUT 12000 27 27 #define VI_MAILBOX_RESET_TIME 12 28 28 29 29 /* VI mailbox messages request */