]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/sdma: consolidate engine reset handling
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Jun 2025 12:49:07 +0000 (08:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 17:48:20 +0000 (13:48 -0400)
commitf8410a17d377d062ef381316669653fb0ba0edc5
treeb0e7de6a7f30350881adc2fc88e9bca8848e8541
parent91134e800894fc6992cb0cdadea4cc94fe21b6e2
drm/amdgpu/sdma: consolidate engine reset handling

Move the force completion handling into the common
engine reset function.  No need to duplicate it for
every IP version.

Reviewed-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c