Lines Matching refs:ttm
127 if (man->use_tt && bo->ttm && in ttm_bo_add_mem_to_lru()
128 !(bo->ttm->page_flags & (TTM_PAGE_FLAG_SG | in ttm_bo_add_mem_to_lru()
178 if (bo->ttm && !(bo->ttm->page_flags & in ttm_bo_move_to_lru_tail()
258 ret = ttm_tt_set_placement_caching(bo->ttm, mem->placement); in ttm_bo_handle_move_mem()
263 ret = ttm_tt_populate(bdev, bo->ttm, ctx); in ttm_bo_handle_move_mem()
1557 bo->ttm->caching_state != tt_cached) { in ttm_bo_swapout()
1589 ret = ttm_tt_swapout(bo->bdev, bo->ttm, bo->persistent_swap_storage); in ttm_bo_swapout()
1617 if (bo->ttm == NULL) in ttm_bo_tt_destroy()
1620 ttm_tt_destroy(bo->bdev, bo->ttm); in ttm_bo_tt_destroy()
1621 bo->ttm = NULL; in ttm_bo_tt_destroy()
1626 return bo->bdev->driver->ttm_tt_bind(bo->bdev, bo->ttm, mem); in ttm_bo_tt_bind()
1631 bo->bdev->driver->ttm_tt_unbind(bo->bdev, bo->ttm); in ttm_bo_tt_unbind()