]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: Increase reset counter only on success
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 14 Jul 2025 05:07:00 +0000 (10:37 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Jul 2025 20:14:44 +0000 (16:14 -0400)
commit25c314aa3ec3d30e4ee282540e2096b5c66a2437
treee4ba9b4de855334aff72961c2a454c3924cd2b85
parent9ad73536f8758e53e266c81f6f0fcbb90b349b6b
drm/amdgpu: Increase reset counter only on success

Increment the reset counter only if soft recovery succeeded. This is
consistent with a ring hard reset behaviour where counter gets
incremented only if hard reset succeeded.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c