]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: plumb timedout fence through to force completion
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jan 2026 22:20:18 +0000 (17:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2026 20:15:31 +0000 (16:15 -0400)
commitc184df870db1e328691ea0fbb7d0e59efd9d3f9f
treecbdea9ebd1a258bc03738419f3dd1bc0c6641107
parentb0054327595767aec4726929e6ddb94b5d31334f
drm/amdgpu: plumb timedout fence through to force completion

When we do a full adapter reset, if we know the timedout fence
mark the fence with -ETIME rather than -ECANCELED so it
gets properly handled by userspace.

v2: rebase

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c