Skip to content

Commit 80920ea

Browse files
jokim-amdkentrussell
authored andcommitted
drm/amdgpu: increase mes submission timeout
MES internally has a timeout allowance of 2 seconds. Increase driver timeout to 3 seconds to be safe. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 96a4c00 commit 80920ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/mes_v11_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static int mes_v11_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes,
108108
struct amdgpu_device *adev = mes->adev;
109109
struct amdgpu_ring *ring = &mes->ring;
110110
unsigned long flags;
111-
signed long timeout = adev->usec_timeout;
111+
signed long timeout = 3000000; /* 3000 ms */
112112
u32 fence_offset;
113113
u64 fence_gpu_addr;
114114
u64 *fence_ptr;

0 commit comments

Comments
 (0)