Skip to content

Commit 856265c

Browse files
committed
drm/amdgpu/mes11: reduce timeout
The firmware timeout is 2s. Reduce the driver timeout to 2.1 seconds to avoid back pressure on queue submissions. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3627 Fixes: f7c161a ("drm/amdgpu: increase mes submission timeout") Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 6dcba09 commit 856265c

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
@@ -161,7 +161,7 @@ static int mes_v11_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes,
161161
int api_status_off)
162162
{
163163
union MESAPI__QUERY_MES_STATUS mes_status_pkt;
164-
signed long timeout = 3000000; /* 3000 ms */
164+
signed long timeout = 2100000; /* 2100 ms */
165165
struct amdgpu_device *adev = mes->adev;
166166
struct amdgpu_ring *ring = &mes->ring[0];
167167
struct MES_API_STATUS *api_status;

0 commit comments

Comments
 (0)