]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: change the default timeout for kernel compute queues
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 4 May 2021 15:00:42 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:45 +0000 (18:06 -0400)
commit0320f1e9bf1c36e7210f34d052217d8abe428897
tree9c89af96e641ae3dbc5abe256accd831418298cf
parent70620f6ddd23ccd31d35f0c3d23ab6724a6ee1f9
drm/amdgpu: change the default timeout for kernel compute queues

Change to 60s.  This matches what we already do in virtualization.
Infinite timeout can lead to deadlocks in the kernel.

Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c