diff options
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_execbuf_util.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_execbuf_util.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_execbuf_util.c b/drivers/gpu/drm/ttm/ttm_execbuf_util.c index e8dac8758528..0fbbbbd67afc 100644 --- a/drivers/gpu/drm/ttm/ttm_execbuf_util.c +++ b/drivers/gpu/drm/ttm/ttm_execbuf_util.c | |||
@@ -217,7 +217,6 @@ void ttm_eu_fence_buffer_objects(struct ww_acquire_ctx *ticket, | |||
217 | glob = bo->glob; | 217 | glob = bo->glob; |
218 | 218 | ||
219 | spin_lock(&glob->lru_lock); | 219 | spin_lock(&glob->lru_lock); |
220 | spin_lock(&bdev->fence_lock); | ||
221 | 220 | ||
222 | list_for_each_entry(entry, list, head) { | 221 | list_for_each_entry(entry, list, head) { |
223 | bo = entry->bo; | 222 | bo = entry->bo; |
@@ -227,7 +226,6 @@ void ttm_eu_fence_buffer_objects(struct ww_acquire_ctx *ticket, | |||
227 | __ttm_bo_unreserve(bo); | 226 | __ttm_bo_unreserve(bo); |
228 | entry->reserved = false; | 227 | entry->reserved = false; |
229 | } | 228 | } |
230 | spin_unlock(&bdev->fence_lock); | ||
231 | spin_unlock(&glob->lru_lock); | 229 | spin_unlock(&glob->lru_lock); |
232 | if (ticket) | 230 | if (ticket) |
233 | ww_acquire_fini(ticket); | 231 | ww_acquire_fini(ticket); |