Skip to content

Commit c00133a

Browse files
Christian Königairlied
authored andcommitted
drm/ttm: drop extra ttm_bo_put in ttm_bo_cleanup_refs
That was accidentially left over when we switched to the delayed delete worker. Suggested-by: Matthew Auld <[email protected]> Signed-off-by: Christian König <[email protected]> Fixes: 9bff18d ("drm/ttm: use per BO cleanup workers") Reported-by: Steven Rostedt (Google) <[email protected]> Tested-by: Steven Rostedt (Google) <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent c31a72d commit c00133a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/ttm/ttm_bo.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,6 @@ static int ttm_bo_cleanup_refs(struct ttm_buffer_object *bo,
295295
if (unlock_resv)
296296
dma_resv_unlock(bo->base.resv);
297297

298-
ttm_bo_put(bo);
299-
300298
return 0;
301299
}
302300

0 commit comments

Comments
 (0)