Skip to contentSkip to conversation

drm/ttm: drop extra ttm_bo_put in ttm_bo_cleanup_refs

PATCH In review Christian König 3 participants 4 messages Mar 16, 2023 – Mar 17, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Fixes ("9bff18d13473") drm/ttm: use per BO cleanup workers
---
 drivers/gpu/drm/ttm/ttm_bo.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/ttm/ttm_bo.c +0 -2
index 459f1b4440da..6314653e91f7 100644
@@ -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;
 }
 
Signature · 1 line
2.34.1
maintainer
#2 lore raw
Quoted 7 lines · Matthew Auld
Quoted 4 lines · Christian König

That was accidentially left over when we switched to the delayed delete worker.

Quoted 6 lines
Quoted 5 lines
Fixes ("9bff18d13473") drm/ttm: use per BO cleanup workers

I'm taking this directly into drm-fixes, please don't apply it to drm-misc-fixes at all.

Dave.

#3 lore raw

Am 17.03.23 um 06:44 schrieb Dave Airlie:

Quoted 7 lines
Quoted 5 lines · Matthew Auld
Quoted 3 lines · Christian König

That was accidentially left over when we switched to the delayed delete worker.

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
Fixes ("9bff18d13473") drm/ttm: use per BO cleanup workers

I'm taking this directly into drm-fixes, please don't apply it to drm-misc-fixes at all.

Ack and sorry for the noise.

Christian.

Quoted 2 lines

Dave.