Home
last modified time | relevance | path

Searched refs:XE_PL_VRAM0 (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_res_cursor.h82 case XE_PL_VRAM0: in xe_res_first()
202 case XE_PL_VRAM0: in xe_res_next()
H A Dxe_debugfs.c193 for (mem_type = XE_PL_VRAM0; mem_type <= XE_PL_VRAM1; ++mem_type) { in xe_debugfs_register()
199 snprintf(name, sizeof(name), "vram%d_mm", mem_type - XE_PL_VRAM0); in xe_debugfs_register()
H A Dxe_bo.h60 #define XE_PL_VRAM0 TTM_PL_VRAM macro
61 #define XE_PL_VRAM1 (XE_PL_VRAM0 + 1)
H A Dxe_pm.c686 for (i = XE_PL_VRAM0; i <= XE_PL_VRAM1; ++i) { in xe_pm_set_vram_threshold()
723 for (i = XE_PL_VRAM0; i <= XE_PL_VRAM1; ++i) { in xe_pm_d3cold_allowed_toggle()
H A Dxe_bo_evict.c41 for (mem_type = XE_PL_VRAM0; mem_type <= XE_PL_VRAM1; ++mem_type) { in xe_bo_evict_all()
H A Dxe_ttm_vram_mgr.c366 return __xe_ttm_vram_mgr_init(xe, mgr, XE_PL_VRAM0 + tile->id, in xe_ttm_vram_mgr_init()
378 struct xe_tile *tile = &xe->tiles[res->mem_type - XE_PL_VRAM0]; in xe_ttm_vram_mgr_alloc_sgt()
H A Dxe_bo.c35 [XE_PL_VRAM0] = "vram0",
74 return mem_type >= XE_PL_VRAM0 && mem_type != XE_PL_STOLEN; in mem_type_is_vram()
138 tile = &xe->tiles[mem_type == XE_PL_STOLEN ? 0 : (mem_type - XE_PL_VRAM0)]; in mem_type_to_migrate()
202 add_vram(xe, bo, bo->placements, bo_flags, XE_PL_VRAM0, c); in try_add_vram()
269 case XE_PL_VRAM0: in xe_evict_flags()
452 case XE_PL_VRAM0: in xe_ttm_io_mem_reserve()
1401 place->mem_type = XE_PL_VRAM0; in __xe_bo_fixed_placement()
H A Dxe_dma_buf.c123 case XE_PL_VRAM0: in xe_dma_buf_map()
H A Dxe_query.c240 for (i = XE_PL_VRAM0; i <= XE_PL_VRAM1; ++i) in calc_mem_regions_size()
282 for (i = XE_PL_VRAM0; i <= XE_PL_VRAM1; ++i) { in query_mem_regions()
H A Dxe_gt_pagefault.c115 err = xe_bo_migrate(bo, XE_PL_VRAM0 + id); in xe_pf_begin()
H A Dxe_vm.c1838 XE_PL_VRAM0,
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_dma_buf.c39 mem_type = XE_PL_VRAM0; in check_residency()
118 if (!ttm_manager_type(&xe->ttm, XE_PL_VRAM0) && in xe_test_dmabuf_import_same_driver()
H A Dxe_migrate.c176 if (bo->ttm.resource->mem_type == XE_PL_VRAM0) in test_copy_vram()
/linux/drivers/gpu/drm/xe/display/
H A Dintel_fb_bo.c81 !xe_bo_can_migrate(gem_to_xe_bo(gem), XE_PL_VRAM0) && in intel_fb_bo_lookup_valid_bo()
H A Dxe_fb_pin.c304 ret = xe_bo_migrate(bo, XE_PL_VRAM0); in __xe_pin_fb_vma()