drm/amdgpu: invert the logic in amdgpu_device_should_recover_gpu()
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jan 2022 22:41:44 +0000 (17:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:52:50 +0000 (17:52 -0500)
commitb3523c457380c23cf28d4ee1ef60da337a0a45c0
treefd0c479deea350a4c2b386f548edb80540122b1b
parent31425abeda7130e66e61dbd8468502061413631f
drm/amdgpu: invert the logic in amdgpu_device_should_recover_gpu()

Rather than opting into GPU recovery support, default to on, and
opt out if it's not working on a particular GPU.  This avoids the
need to add new asics to this list since this is a core feature.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c