]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/amdgpu: fix a potential deadlock in amdgpu_bo_create_restricted()"
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 14 Feb 2017 08:47:36 +0000 (09:47 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:06 +0000 (23:53 -0400)
commitbf844d9d771ad743343a6564ec6d85242ed52f1a
treea29b8b594153e96648f0237d40aaef4e4a79160d
parentfec5560e64af935aacd1ed3b47a9109c72e495e3
Revert "drm/amdgpu: fix a potential deadlock in amdgpu_bo_create_restricted()"

This reverts commit 68bb01e1e9469f084ce1728f4d3ab3d4ecf9b89f, which
introduces a use-after-free.

The underlying bug should be properly fixed with "drm/ttm: never add BO
that failed to validate to the LRU list".

Cc: zhoucm1 <david1.zhou@amd.com>
Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.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_object.c