]> 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)
commite2b1a275c90d97da5272c0d873fe681cefc4c434
treea29b8b594153e96648f0237d40aaef4e4a79160d
parenta7906bcfed3843a2e32bb3a25e63f48b15fe764e
Revert "drm/amdgpu: fix a potential deadlock in amdgpu_bo_create_restricted()"

This reverts commit 9daf88ce10f20761b44d2ea82e0f37f49ce9be73, 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