]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: add per ring reset support (v5)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Jun 2024 18:38:20 +0000 (14:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Aug 2024 18:17:52 +0000 (14:17 -0400)
commit15789fa0f0e29cf802f30d0e308da9c6b18c116a
tree04f99c70241cbdf511088429089e1b0ebd0edd69
parent57a372f67688dc7aee23a2a00bcaf6188f592934
drm/amdgpu: add per ring reset support (v5)

If a specific job is hung, try and reset just the
ring associated with the job.

v2: move to amdgpu_job.c
v3: fix drm_sched_stop() handling when ring reset fails
v4: drop unnecessary amdgpu_fence_driver_clear_job_fences() and
    drm_sched_increase_karma()
v5: rework sched_stop handling

Acked-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c