Home
last modified time | relevance | path

Searched refs:ghost (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c569 * needs to stay alive. Otherwhise hang it on the ghost in ttm_bo_move_to_ghost()
636 struct ttm_buffer_object *ghost; in ttm_bo_pipeline_gutting() local
639 ret = ttm_buffer_object_transfer(bo, &ghost); in ttm_bo_pipeline_gutting()
643 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
652 dma_resv_unlock(&ghost->base._resv); in ttm_bo_pipeline_gutting()
653 ttm_bo_put(ghost); in ttm_bo_pipeline_gutting()
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c590 * needs to stay alive. Otherwhise hang it on the ghost in ttm_bo_move_to_ghost()
707 struct ttm_buffer_object *ghost; in ttm_bo_pipeline_gutting() local
711 /* If already idle, no need for ghost object dance. */ in ttm_bo_pipeline_gutting()
729 * if any, to the ghost object. And we can't afford to fail in ttm_bo_pipeline_gutting()
742 ret = ttm_buffer_object_transfer(bo, &ghost); in ttm_bo_pipeline_gutting()
746 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
753 dma_resv_unlock(&ghost->base._resv); in ttm_bo_pipeline_gutting()
754 ttm_bo_put(ghost); in ttm_bo_pipeline_gutting()

Completed in 3 milliseconds