commit | 378e2d5b504fe0231c557751e58b80fcf717cc20 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Mon Sep 04 20:58:45 2017 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Sep 12 14:23:41 2017 -0400 |
tree | 43adcb89b887991c2837558a469bd6a4c0d0726f | |
parent | aa4ec7ce7ec52c7230cfa73b06d79288b45fe1c9 [diff] |
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>