Home
last modified time | relevance | path

Searched refs:xe_tile (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/gpu/drm/xe/
H A Dxe_pcode.h13 struct xe_tile;
15 void xe_pcode_init(struct xe_tile *tile);
18 int xe_pcode_init_min_freq_table(struct xe_tile *tile, u32 min_gt_freq,
20 int xe_pcode_read(struct xe_tile *tile, u32 mbox, u32 *val, u32 *val1);
21 int xe_pcode_write_timeout(struct xe_tile *tile, u32 mbox, u32 val,
23 int xe_pcode_write64_timeout(struct xe_tile *tile, u32 mbox, u32 data0,
29 int xe_pcode_request(struct xe_tile *tile, u32 mbox, u32 request,
H A Dxe_svm.h32 struct xe_tile;
69 int xe_devm_add(struct xe_tile *tile, struct xe_vram_region *vr);
87 int xe_svm_alloc_vram(struct xe_tile *tile, struct xe_svm_range *range,
111 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile);
185 struct xe_tile;
207 int xe_devm_add(struct xe_tile *tile, struct xe_vram_region *vr) in xe_devm_add()
263 xe_svm_alloc_vram(struct xe_tile *tile, struct xe_svm_range *range, in xe_svm_alloc_vram()
341 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile) in xe_vma_resolve_pagemap()
H A Dxe_migrate.h24 struct xe_tile;
56 struct xe_tile *tile, struct iosys_map *map,
74 struct xe_tile *tile, struct iosys_map *map,
113 struct xe_migrate *xe_migrate_alloc(struct xe_tile *tile);
135 int xe_migrate_ccs_rw_copy(struct xe_tile *tile, struct xe_exec_queue *q,
H A Dxe_vram_freq.h9 struct xe_tile;
11 int xe_vram_freq_sysfs_init(struct xe_tile *tile);
H A Dxe_tile_sysfs_types.h11 struct xe_tile;
24 struct xe_tile *tile;
H A Dxe_tile_sysfs.h11 int xe_tile_sysfs_init(struct xe_tile *tile);
13 static inline struct xe_tile *
H A Dxe_device_types.h91 const struct xe_tile * : (const struct xe_device *)((tile__)->xe), \
92 struct xe_tile * : (tile__)->xe)
104 struct xe_tile *tile;
147 struct xe_tile { struct
488 struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
H A Dxe_tile_sysfs.c27 struct xe_tile *tile = arg; in tile_sysfs_fini()
32 int xe_tile_sysfs_init(struct xe_tile *tile) in xe_tile_sysfs_init()
H A Dxe_bo_evict.c162 struct xe_tile *tile; in xe_bo_evict_all()
201 struct xe_tile *tile; in xe_bo_restore_and_map_ggtt()
245 struct xe_tile *tile; in xe_bo_restore_late()
275 struct xe_tile *tile; in xe_bo_pci_dev_remove_pinned()
H A Dxe_pt.c59 static u64 __xe_pt_empty_pte(struct xe_tile *tile, struct xe_vm *vm, in __xe_pt_empty_pte()
101 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile, in xe_pt_create()
161 void xe_pt_populate_empty(struct xe_tile *tile, struct xe_vm *vm, in xe_pt_populate_empty()
288 struct xe_tile *tile;
697 xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_stage_bind()
846 struct xe_tile *tile;
903 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma) in xe_pt_zap_ptes()
945 bool xe_pt_zap_ptes_range(struct xe_tile *tile, struct xe_vm *vm, in xe_pt_zap_ptes_range()
983 xe_vm_populate_pgtable(struct xe_migrate_pt_update *pt_update, struct xe_tile *tile, in xe_vm_populate_pgtable()
1157 xe_pt_prepare_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_prepare_bind()
[all …]
H A Dxe_svm.c122 struct xe_tile *tile; in xe_svm_range_notifier_event_begin()
204 struct xe_tile *tile; in xe_svm_invalidate()
798 struct xe_tile *tile, in xe_svm_range_is_valid()
1050 struct xe_tile *tile = gt_to_tile(gt);
1361 struct xe_tile *tile; in xe_svm_ranges_zap_ptes_in_range()
1397 static struct drm_pagemap *tile_local_pagemap(struct xe_tile *tile) in tile_local_pagemap()
1419 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile) in xe_vma_resolve_pagemap()
1442 int xe_svm_alloc_vram(struct xe_tile *tile, struct xe_svm_range *range, in xe_svm_alloc_vram()
1494 int xe_devm_add(struct xe_tile *tile, struct xe_vram_region *vr) in xe_devm_add()
1534 int xe_svm_alloc_vram(struct xe_tile *tile, in xe_svm_alloc_vram()
[all …]
H A Dxe_vram.c221 static int tile_vram_size(struct xe_tile *tile, u64 *vram_size, in tile_vram_size()
230 struct xe_tile *t; in tile_vram_size()
274 struct xe_tile *tile; in vram_fini()
357 struct xe_tile *tile; in xe_vram_probe()
H A Dxe_sriov_vf_ccs.c142 static int alloc_bb_pool(struct xe_tile *tile, struct xe_sriov_vf_ccs_ctx *ctx) in alloc_bb_pool()
328 struct xe_tile *tile = xe_device_get_root_tile(xe); in xe_sriov_vf_ccs_init()
399 struct xe_tile *tile; in xe_sriov_vf_ccs_attach_bo()
H A Dxe_irq.h14 struct xe_tile;
H A Dxe_bo.c169 struct xe_tile *tile; in mem_type_to_migrate()
1708 struct xe_tile *tile; in xe_ttm_bo_destroy()
2138 struct xe_tile *tile, struct dma_resv *resv, in xe_bo_init_locked()
2312 struct xe_tile *tile, struct xe_vm *vm, in __xe_bo_create_locked()
2358 struct xe_tile *t; in __xe_bo_create_locked()
2409 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_locked()
2418 static struct xe_bo *xe_bo_create_novm(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_novm()
2499 struct xe_bo *xe_bo_create_pin_range_novm(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_pin_range_novm()
2532 struct xe_tile *tile, in xe_bo_create_pin_map_at_aligned()
2593 xe_bo_create_pin_map_at_novm(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_pin_map_at_novm()
[all …]
H A Dxe_gt_sriov_pf_config.c426 static int pf_distribute_config_ggtt(struct xe_tile *tile, unsigned int vfid, u64 start, u64 size) in pf_distribute_config_ggtt()
438 static void pf_release_ggtt(struct xe_tile *tile, struct xe_ggtt_node *node) in pf_release_ggtt()
462 struct xe_tile *tile = gt_to_tile(gt); in pf_provision_vf_ggtt()
1445 struct xe_tile *tile; in pf_distribute_config_lmem()
1468 struct xe_tile *tile; in pf_force_lmtt_invalidate()
1483 struct xe_tile *tile; in pf_reset_vf_lmtt()
1498 struct xe_tile *tile; in pf_update_vf_lmtt()
1572 struct xe_tile *tile = gt_to_tile(gt); in pf_provision_vf_lmem()
1746 struct xe_tile *tile = gt->tile; in pf_query_free_lmem()
2335 static int pf_sanitize_lmem(struct xe_tile *tile, struct xe_bo *bo, long timeout) in pf_sanitize_lmem()
[all …]
H A Dxe_vm.c748 struct xe_tile *tile; in xe_vma_rebind()
838 struct xe_tile *tile; in xe_vm_range_rebind()
920 struct xe_tile *tile; in xe_vm_range_unbind()
976 struct xe_tile *tile; in xe_vma_create()
1400 static int xe_vm_create_scratch(struct xe_device *xe, struct xe_tile *tile, in xe_vm_create_scratch()
1423 struct xe_tile *tile; in xe_vm_free_scratch()
1443 struct xe_tile *tile; in xe_vm_pt_destroy()
1463 struct xe_tile *tile; in xe_vm_create()
1684 struct xe_tile *tile; in xe_vm_close()
1715 struct xe_tile *tile; in xe_vm_close_and_put()
[all …]
H A Dxe_exec_queue.h30 struct xe_tile *tile,
H A Dxe_migrate.c50 struct xe_tile *tile;
184 static int xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m, in xe_migrate_prepare_vm()
402 struct xe_migrate *xe_migrate_alloc(struct xe_tile *tile) in xe_migrate_alloc()
411 static int xe_migrate_lock_prepare_vm(struct xe_tile *tile, struct xe_migrate *m, struct xe_vm *vm) in xe_migrate_lock_prepare_vm()
437 struct xe_tile *tile = m->tile; in xe_migrate_init()
1093 int xe_migrate_ccs_rw_copy(struct xe_tile *tile, struct xe_exec_queue *q, in xe_migrate_ccs_rw_copy()
1236 struct xe_tile *tile = vram_bo->tile; in xe_migrate_vram_copy_chunk()
1591 static void write_pgtable(struct xe_tile *tile, struct xe_bb *bb, u64 ppgtt_ofs, in write_pgtable()
1711 struct xe_tile *tile = m->tile; in __xe_migrate_update_pgtables()
2306 struct xe_tile *tile = m->tile; in xe_migrate_access_memory()
H A Dxe_ggtt.c109 struct xe_tile *tile = ggtt->tile; in ggtt_update_access_counter()
201 struct xe_ggtt *xe_ggtt_alloc(struct xe_tile *tile) in xe_ggtt_alloc()
566 struct xe_tile *tile = ggtt->tile; in xe_ggtt_assert_fit()
591 struct xe_tile *tile __maybe_unused = ggtt->tile; in xe_ggtt_shift_nodes_locked()
H A Dxe_guc_hwconfig.c56 struct xe_tile *tile = gt_to_tile(gt); in xe_guc_hwconfig_init()
H A Dxe_vm_types.h401 struct xe_tile *tile;
H A Dxe_gsc_proxy.c414 struct xe_tile *tile = gt_to_tile(gt); in proxy_channel_alloc()
476 struct xe_tile *tile = gt_to_tile(gt); in xe_gsc_proxy_init()
/linux/Documentation/gpu/xe/
H A Dxe_tile.rst7 .. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c
13 .. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_bo.c24 static int ccs_test_migrate(struct xe_tile *tile, struct xe_bo *bo, in ccs_test_migrate()
126 static void ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in ccs_test_run_tile()
174 struct xe_tile *tile; in ccs_test_run_device()
209 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile()
351 struct xe_tile *tile; in evict_test_run_device()

12