]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: make compute timeouts consistent
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 13:49:05 +0000 (09:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jul 2025 20:14:29 +0000 (16:14 -0400)
commitec8fbb44b51ef5cf82ef09043387879276e9ba6b
tree351d18739cb3345bd323c948d8510a352a1c7c17
parent991f2e0c63a7513202faab90a470ebb46e227541
drm/amdgpu: make compute timeouts consistent

For kernel compute queues, align the timeout with
other kernel queues (10 sec).  This had previously
been set higher for OpenCL when it used kernel
queues, but now OpenCL uses KFD user queues which
don't have a timeout limitation. This also aligns
with SR-IOV which already used a shorter timeout.

Additionally the longer timeout negatively impacts
the user experience with kernel queues for interactive
applications.

Reviewed-by: Kent Russell <kent.russell@amd.com>
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