diff options
author | 2017-09-04 20:58:45 +0200 | |
---|---|---|
committer | 2017-09-12 14:23:41 -0400 | |
commit | 378e2d5b504fe0231c557751e58b80fcf717cc20 (patch) | |
tree | 43adcb89b887991c2837558a469bd6a4c0d0726f /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amdgpu: revert "fix deadlock of reservation between cs and gpu reset v2" (diff) | |
download | linux-dev-378e2d5b504fe0231c557751e58b80fcf717cc20.tar.xz linux-dev-378e2d5b504fe0231c557751e58b80fcf717cc20.zip |
drm/ttm: fix ttm_bo_cleanup_refs_or_queue once more
With shared reservation objects __ttm_bo_reserve() can easily fail even on
destroyed BOs. This prevents correct handling when we need to individualize
the reservation object.
Fix this by individualizing the object before even trying to reserve it.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions