drm/amdgpu: don't do soft recovery if gpu_recovery=0
authorMarek Olšák <marek.olsak@amd.com>
Mon, 6 Jul 2020 22:23:17 +0000 (18:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jul 2020 18:42:49 +0000 (14:42 -0400)
commitf4892c327a8e5df7ce16cab40897daf90baf6bec
tree219260b2d8a74d9862dcfc102d57b36e86030223
parent41855a898650803e24b284173354cc3e44d07725
drm/amdgpu: don't do soft recovery if gpu_recovery=0

It's impossible to debug shader hangs with soft recovery.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c