diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2025-06-06 06:34:48 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-30 18:57:36 +0300 |
| commit | 43ca5eb94b38c1b3c71bca36025050dfaab1ef33 (patch) | |
| tree | 48f24edd2f10cfd2d48ceafe29b7fed0a5d6edea /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |
| parent | 2dee58ca471dae05c473270d0fb74efe01a78ccb (diff) | |
| download | linux-43ca5eb94b38c1b3c71bca36025050dfaab1ef33.tar.xz | |
drm/amdgpu: move guilty handling into ring resets
Move guilty logic into the ring reset callbacks. This
allows each ring reset callback to better handle fence
errors and force completions in line with the reset
behavior for each IP. It also allows us to remove
the ring guilty callback since that logic now lives
in the reset callback.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h index de972f69d96e..784ba2ec354c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h @@ -271,7 +271,6 @@ struct amdgpu_ring_funcs { int (*reset)(struct amdgpu_ring *ring, unsigned int vmid, struct amdgpu_fence *timedout_fence); void (*emit_cleaner_shader)(struct amdgpu_ring *ring); - bool (*is_guilty)(struct amdgpu_ring *ring); }; /** |
