Commit c00133a9 authored by Christian König's avatar Christian König Committed by Dave Airlie
Browse files

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: default avatarMatthew Auld <matthew.william.auld@gmail.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Fixes: 9bff18d1 ("drm/ttm: use per BO cleanup workers")
Reported-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Tested-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316072647.406707-1-christian.koenig@amd.com
parent c31a72db
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -295,8 +295,6 @@ static int ttm_bo_cleanup_refs(struct ttm_buffer_object *bo,
	if (unlock_resv)
		dma_resv_unlock(bo->base.resv);

	ttm_bo_put(bo);

	return 0;
}