[PATCH] drm/ttm: drop extra ttm_bo_put in ttm_bo_cleanup_refs
Christian König
ckoenig.leichtzumerken at gmail.com
Thu Mar 16 07:26:47 UTC 2023
That was accidentially left over when we switched to the delayed delete
worker.
Suggested-by: Matthew Auld <matthew.william.auld at gmail.com>
Signed-off-by: Christian König <christian.koenig at amd.com>
Fixes: ("9bff18d13473") drm/ttm: use per BO cleanup workers
Reported-by: Steven Rostedt (Google) <rostedt at goodmis.org>
Tested-by: Steven Rostedt (Google) <rostedt at goodmis.org>
---
drivers/gpu/drm/ttm/ttm_bo.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
index 459f1b4440da..6314653e91f7 100644
--- a/drivers/gpu/drm/ttm/ttm_bo.c
+++ b/drivers/gpu/drm/ttm/ttm_bo.c
@@ -294,8 +294,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;
}
--
2.34.1
More information about the dri-devel
mailing list