diff options
author | Christian König <christian.koenig@amd.com> | 2015-09-01 04:50:26 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-21 11:35:12 -0400 |
commit | b7e4dad3e1fc5d3909737fb72e57aedeb0072c7f (patch) | |
tree | 113a99afa3d566be29fbe4a377fbe96b0f019d45 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | d0be9f4ec1c4ad8a8b6be1efa5bc81e5bce957a3 (diff) |
drm/amdgpu: remove old lockup detection infrastructure
It didn't worked to well anyway.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 901a460b2c55..28c9ee334dd7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -1816,12 +1816,6 @@ int amdgpu_gpu_reset(struct amdgpu_device *adev) | |||
1816 | 1816 | ||
1817 | down_write(&adev->exclusive_lock); | 1817 | down_write(&adev->exclusive_lock); |
1818 | 1818 | ||
1819 | if (!adev->needs_reset) { | ||
1820 | up_write(&adev->exclusive_lock); | ||
1821 | return 0; | ||
1822 | } | ||
1823 | |||
1824 | adev->needs_reset = false; | ||
1825 | atomic_inc(&adev->gpu_reset_counter); | 1819 | atomic_inc(&adev->gpu_reset_counter); |
1826 | 1820 | ||
1827 | /* block TTM */ | 1821 | /* block TTM */ |