Skip to content

Commit

Permalink
drm/amdgpu: increase mes submission timeout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jokim-amd authored and kentrussell committed May 9, 2024
1 parent 96a4c00 commit 80920ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static int mes_v11_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;
signed long timeout = 3000000; /* 3000 ms */
u32 fence_offset;
u64 fence_gpu_addr;
u64 *fence_ptr;
Expand Down

0 comments on commit 80920ea

Please sign in to comment.