Skip to content

Commit 84f7640

Browse files
committed
drm/amdgpu/mes12: reduce timeout
The firmware timeout is 2s. Reduce the driver timeout to 2.1 seconds to avoid back pressure on queue submissions. Fixes: 94b51a3 ("drm/amdgpu/mes12: increase mes submission timeout") Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.11.x
1 parent 856265c commit 84f7640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ static int mes_v12_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes,
146146
int api_status_off)
147147
{
148148
union MESAPI__QUERY_MES_STATUS mes_status_pkt;
149-
signed long timeout = 3000000; /* 3000 ms */
149+
signed long timeout = 2100000; /* 2100 ms */
150150
struct amdgpu_device *adev = mes->adev;
151151
struct amdgpu_ring *ring = &mes->ring[pipe];
152152
spinlock_t *ring_lock = &mes->ring_lock[pipe];

0 commit comments

Comments
 (0)