Lines Matching refs:ttm
53 struct ttm_tt *ttm) in i915_ttm_cache_level() argument
57 ttm->caching == ttm_cached) ? I915_CACHE_LLC : in i915_ttm_cache_level()
86 if (i915_ttm_cpu_maps_iomem(bo->resource) || bo->ttm->caching != ttm_cached) { in i915_ttm_adjust_domains_after_move()
125 bo->ttm); in i915_ttm_adjust_gem_after_move()
198 struct ttm_tt *src_ttm = bo->ttm; in i915_ttm_accel_move()
330 ttm_kmap_iter_tt_init(&arg->_src_iter.tt, bo->ttm) : in i915_ttm_memcpy_init()
332 &obj->ttm.cached_io_rsgt->table, in i915_ttm_memcpy_init()
579 struct ttm_tt *ttm = bo->ttm; in i915_ttm_move() local
626 if (ttm && (dst_man->use_tt || (ttm->page_flags & TTM_TT_FLAG_SWAPPED))) { in i915_ttm_move()
627 ret = ttm_tt_populate(bo->bdev, ttm, ctx); in i915_ttm_move()
636 clear = !i915_ttm_cpu_maps_iomem(bo->resource) && (!ttm || !ttm_tt_is_populated(ttm)); in i915_ttm_move()
638 if (!(clear && ttm && !((ttm->page_flags & TTM_TT_FLAG_ZERO_ALLOC) && !prealloc_bo))) { in i915_ttm_move()
648 migration_fence = __i915_ttm_move(bo, ctx, clear, dst_mem, ttm, in i915_ttm_move()
678 obj->ttm.cached_io_rsgt = dst_rsgt; in i915_ttm_move()
679 obj->ttm.get_io_page.sg_pos = dst_rsgt->table.sgl; in i915_ttm_move()
680 obj->ttm.get_io_page.sg_idx = 0; in i915_ttm_move()
744 dst_bo->ttm, dst_rsgt, allow_accel, in i915_gem_obj_copy_ttm()