Home
last modified time | relevance | path

Searched refs:XE_PL_TT (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_dma_buf.c34 if (!attach->peer2peer && !xe_bo_can_migrate(gem_to_xe_bo(obj), XE_PL_TT)) in xe_dma_buf_attach()
61 if (xe_bo_is_pinned(bo) && bo->ttm.resource->placement != XE_PL_TT) { in xe_dma_buf_pin()
66 ret = xe_bo_migrate(bo, XE_PL_TT); in xe_dma_buf_pin()
98 if (!attach->peer2peer && !xe_bo_can_migrate(bo, XE_PL_TT)) in xe_dma_buf_map()
103 r = xe_bo_migrate(bo, XE_PL_TT); in xe_dma_buf_map()
111 case XE_PL_TT: in xe_dma_buf_map()
173 (void)xe_bo_migrate(bo, XE_PL_TT); in xe_dma_buf_begin_cpu_access()
Dxe_ttm_sys_mgr.c101 ttm_set_driver_manager(&xe->ttm, XE_PL_TT, NULL); in ttm_sys_mgr_fini()
118 ttm_set_driver_manager(&xe->ttm, XE_PL_TT, man); in xe_ttm_sys_mgr_init()
Dxe_res_cursor.h124 cur->mem_type = XE_PL_TT; in xe_res_first()
164 cur->mem_type = XE_PL_TT; in xe_res_first_sg()
Dxe_bo_evict.c38 for (mem_type = XE_PL_TT; mem_type <= XE_PL_VRAM1; ++mem_type) { in xe_bo_evict_all()
50 if (mem_type == XE_PL_TT && (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe))) in xe_bo_evict_all()
Dxe_bo.c34 [XE_PL_TT] = "gtt",
56 .mem_type = XE_PL_TT,
159 .mem_type = XE_PL_TT, in try_add_system()
274 case XE_PL_TT: in xe_evict_flags()
450 case XE_PL_TT: in xe_ttm_io_mem_reserve()
666 if (new_mem->mem_type == XE_PL_TT) in xe_bo_move()
689 if (new_mem->mem_type == XE_PL_TT) { in xe_bo_move()
700 if (old_mem_type == XE_PL_SYSTEM && new_mem->mem_type == XE_PL_TT && !handle_system_ccs) { in xe_bo_move()
709 if (old_mem_type == XE_PL_TT && in xe_bo_move()
710 new_mem->mem_type == XE_PL_TT) { in xe_bo_move()
[all …]
Dxe_debugfs.c204 man = ttm_manager_type(bdev, XE_PL_TT); in xe_debugfs_register()
Dxe_bo.h59 #define XE_PL_TT TTM_PL_TT macro
Dxe_query.c268 man = ttm_manager_type(&xe->ttm, XE_PL_TT); in query_mem_regions()
Dxe_migrate.c777 bool src_is_pltt = src->mem_type == XE_PL_TT; in xe_migrate_copy()
778 bool dst_is_pltt = dst->mem_type == XE_PL_TT; in xe_migrate_copy()
Dxe_vm.c1837 XE_PL_TT,
/linux-6.12.1/drivers/gpu/drm/xe/tests/
Dxe_dma_buf.c42 mem_type = XE_PL_TT; in check_residency()
45 mem_type = XE_PL_TT; in check_residency()
49 mem_type = XE_PL_TT; in check_residency()
98 KUNIT_EXPECT_TRUE(test, xe_bo_is_mem_type(exported, XE_PL_TT)); in check_residency()
103 KUNIT_EXPECT_TRUE(test, xe_bo_is_mem_type(imported, XE_PL_TT)); in check_residency()