Lines Matching refs:ttm
31 #include "ttm/ttm_bo_driver.h"
32 #include "ttm/ttm_placement.h"
56 struct ttm_tt *ttm = bo->ttm;
61 ttm_tt_unbind(ttm);
68 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement);
73 ret = ttm_tt_bind(ttm, new_mem);
160 static int ttm_copy_io_ttm_page(struct ttm_tt *ttm, void *src,
164 struct page *d = ttm_tt_get_page(ttm, page);
197 static int ttm_copy_ttm_io_page(struct ttm_tt *ttm, void *dst,
201 struct page *s = ttm_tt_get_page(ttm, page);
239 struct ttm_tt *ttm = bo->ttm;
259 if (old_iomap == NULL && ttm == NULL)
277 ret = ttm_copy_ttm_io_page(ttm, new_iomap, page,
282 ret = ttm_copy_io_ttm_page(ttm, old_iomap, page,
296 if ((man->flags & TTM_MEMTYPE_FLAG_FIXED) && (ttm != NULL)) {
297 ttm_tt_unbind(ttm);
298 ttm_tt_destroy(ttm);
299 bo->ttm = NULL;
422 struct ttm_tt *ttm = bo->ttm;
426 BUG_ON(!ttm);
434 map->page = ttm_tt_get_page(ttm, start_page);
441 d = ttm_tt_get_page(ttm, i);
454 map->virtual = vmap(ttm->pages + start_page, num_pages,
544 (bo->ttm != NULL)) {
545 ttm_tt_unbind(bo->ttm);
546 ttm_tt_destroy(bo->ttm);
547 bo->ttm = NULL;
574 ghost_obj->ttm = NULL;
576 bo->ttm = NULL;