drm/amdgpu: update ring reset function signature

Going forward, we'll need more than just the vmid.  Add the
guilty amdgpu_fence.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher
2025-06-05 16:12:08 -04:00
parent d0c35c84dc
commit 787e2ce10f
22 changed files with 70 additions and 26 deletions

View File

@@ -764,7 +764,9 @@ static int jpeg_v2_0_process_interrupt(struct amdgpu_device *adev,
return 0;
}
static int jpeg_v2_0_ring_reset(struct amdgpu_ring *ring, unsigned int vmid)
static int jpeg_v2_0_ring_reset(struct amdgpu_ring *ring,
unsigned int vmid,
struct amdgpu_fence *timedout_fence)
{
jpeg_v2_0_stop(ring->adev);
jpeg_v2_0_start(ring->adev);