drm/amd/amdgpu: avoid soft reset check when gpu recovery disabled
authorChengming Gui <Jack.Gui@amd.com>
Fri, 5 Aug 2022 03:00:56 +0000 (11:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:35:18 +0000 (13:35 -0400)
commitd3ef9d57f24eba16cbce8f304c9190528e842227
treed0560ca8838730d18823de5092391431d3091f1a
parent2724efa389c0dc4d686935b980832cbb87956968
drm/amd/amdgpu: avoid soft reset check when gpu recovery disabled

Avoid soft reset, even ip hang check (ring/ib test) when gpu recovery
disabled.

v2: add missing "}"

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c