drm/amdgpu: check if driver should try recovery in ras recovery path
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 16 Jan 2020 04:39:15 +0000 (12:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 18:40:47 +0000 (13:40 -0500)
commit93af20f74e8eb4077fecdcc6e8093f13f0059bc9
tree099650289879f8779812b95be57de91d7d79b8e3
parent2ac0d686971aad123bb5be07183b7623e99e4e68
drm/amdgpu: check if driver should try recovery in ras recovery path

To allow the flexibilty for user to disable gpu recovery
in RAS recovery path by module parameter amdgpu_gpu_recovery

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c