drm/amdgpu: support SDMA soft recovery for sdma v6
authorLikun Gao <Likun.Gao@amd.com>
Tue, 14 Jun 2022 09:36:00 +0000 (17:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jul 2022 15:25:16 +0000 (11:25 -0400)
commit58e969b60db0f5ca9abf0a8df28086efd601f38c
treee958b886485fe67e5310ac697f8b72891e068b3e
parentc0ff84cb58faff9fdb8d955c6e1e07fd75d88c16
drm/amdgpu: support SDMA soft recovery for sdma v6

Support SDMA soft reset for SDMA v6.

V3: use ib test to check soft reset.
V4: squash in unused variable fix (Alex)

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c