diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-04-29 11:40:26 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-02 16:18:15 -0400 |
commit | 94b51a3d01ed498c753fe474157ca62f0b8a4bc2 (patch) | |
tree | 18d62da63b840155c9b7d340cd8f6c0c7c7d80e7 /drivers/gpu/drm | |
parent | b1d852920b316181cc3e622a0fe0483d2db6a5d1 (diff) |
drm/amdgpu/mes12: 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: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c index 9385ee76f3e6..57bc277677ed 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mes_v12_0.c @@ -151,8 +151,8 @@ static int mes_v12_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes, struct amdgpu_device *adev = mes->adev; struct amdgpu_ring *ring = &mes->ring; unsigned long flags; - signed long timeout = adev->usec_timeout; const char *op_str, *misc_op_str; + signed long timeout = 3000000; /* 3000 ms */ if (x_pkt->header.opcode >= MES_SCH_API_MAX) return -EINVAL; |