drm/amdgpu: Simplify amdgpu_lockup_timeout usage.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 13 Dec 2017 19:36:53 +0000 (14:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Dec 2017 22:15:00 +0000 (17:15 -0500)
commit8854695add1eaaeafae728850c905c4727e56f35
treebfb113240282734d3401b1ed2cb4c34e2e10c085
parentdcebf026e6f69fb79e7f88d10681faf4f8a985ba
drm/amdgpu: Simplify amdgpu_lockup_timeout usage.

With introduction of amdgpu_gpu_recovery we don't need any more
to rely on amdgpu_lockup_timeout == 0 for disabling GPU reset.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@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
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c