drm/amdgpu/sdma5.2: implement ring reset callback for sdma5.2
authorJiadong Zhu <Jiadong.Zhu@amd.com>
Fri, 20 Sep 2024 03:29:41 +0000 (11:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:39:57 +0000 (17:39 -0400)
commit5682cd86d6f706f97d40385fafdc9578886e54bf
treee7e3247dde48847d6b1522b5a4e2cad79670e236
parent1fd7c37e3f3d526ebce57478fa39fa1f81b560a9
drm/amdgpu/sdma5.2: implement ring reset callback for sdma5.2

Implement sdma queue reset callback via MMIO.

v2: enter/exit safemode for mmio queue reset.

Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c