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 23:06:44 +0000 (18:06 -0500)
commit0ffb1fd1582a78649f22253d81515997fff88bc4
tree1b7f661aa71d1b79dc8343b1bf7840248db1126e
parent4175c32be5ef0ff254d6931931ec412e8029c32a
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