drm/amdgpu: Add soft reset callback to SDMA v4.4.x
authorJesse Zhang <jesse.zhang@amd.com>
Wed, 11 Jun 2025 09:23:26 +0000 (17:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:19 +0000 (12:19 -0400)
commit0c3f972394bb91faf3fb86b76327ed4aefa68c0c
tree6db027ea40cc7ab66d1bd8b667d2dac756b46aa0
parent3bab282dfe25dff7a55add432f56898505a6cc6c
drm/amdgpu: Add soft reset callback to SDMA v4.4.x

Implement soft reset engine callback for SDMA 4.4.x IPs. This avoids IP
version check in generic implementation.

V2: Correct physical instance ID calculation in soft_reset_engine (Jesse)

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Jesse Zhang <Jesse.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_sdma.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c