mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
d0be9f4ec1
commit
b7e4dad3e1
@@ -1816,12 +1816,6 @@ int amdgpu_gpu_reset(struct amdgpu_device *adev)
|
||||
|
||||
down_write(&adev->exclusive_lock);
|
||||
|
||||
if (!adev->needs_reset) {
|
||||
up_write(&adev->exclusive_lock);
|
||||
return 0;
|
||||
}
|
||||
|
||||
adev->needs_reset = false;
|
||||
atomic_inc(&adev->gpu_reset_counter);
|
||||
|
||||
/* block TTM */
|
||||
|
||||
Reference in New Issue
Block a user