Home
last modified time | relevance | path

Searched refs:xe_tile (Results 1 – 25 of 48) 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.h25 struct xe_tile;
80 int xe_devm_add(struct xe_tile *tile, struct xe_vram_region *vr);
122 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile);
189 int xe_pagemap_cache_create(struct xe_tile *tile);
204 struct xe_tile;
227 int xe_devm_add(struct xe_tile *tile, struct xe_vram_region *vr) in xe_devm_add()
361 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile) in xe_vma_resolve_pagemap()
380 static inline int xe_pagemap_cache_create(struct xe_tile *tile) in xe_pagemap_cache_create()
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_mmio.c28 struct xe_tile *tile; in tiles_fini()
56 struct xe_tile *tile; in mmio_multi_tile_setup()
82 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in mmio_fini()
91 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in xe_mmio_probe_early()
122 void xe_mmio_init(struct xe_mmio *mmio, struct xe_tile *tile, void __iomem *ptr, u32 size) in xe_mmio_init()
393 struct xe_tile *tile = base->tile; in xe_mmio_init_vf_view()
H A Dxe_device_types.h96 const struct xe_tile * : (const struct xe_device *)((tile__)->xe), \
97 struct xe_tile * : (tile__)->xe)
109 struct xe_tile *tile;
152 struct xe_tile { struct
523 struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
H A Dxe_pt.c61 static u64 __xe_pt_empty_pte(struct xe_tile *tile, struct xe_vm *vm, in __xe_pt_empty_pte()
103 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile, in xe_pt_create()
163 void xe_pt_populate_empty(struct xe_tile *tile, struct xe_vm *vm, in xe_pt_populate_empty()
290 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_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_lmtt.c45 static struct xe_tile *lmtt_to_tile(struct xe_lmtt *lmtt) in lmtt_to_tile()
47 return container_of(lmtt, struct xe_tile, sriov.pf.lmtt); in lmtt_to_tile()
198 struct xe_tile *tile = lmtt_to_tile(lmtt); in lmtt_setup_dir_ptr()
242 struct xe_tile *tile = lmtt_to_tile(lmtt); in lmtt_invalidate_hw()
280 struct xe_tile *tile = lmtt_to_tile(lmtt); in xe_lmtt_invalidate_hw()
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()
332 struct xe_tile *tile = xe_device_get_root_tile(xe); in xe_sriov_vf_ccs_init()
415 struct xe_tile *tile; in xe_sriov_vf_ccs_attach_bo()
H A Dxe_svm.c159 struct xe_tile *tile; in xe_svm_range_notifier_event_begin()
230 struct xe_tile *tile; in xe_svm_invalidate()
812 struct xe_tile *tile; in xe_svm_put_pagemaps()
944 struct xe_tile *tile, in xe_svm_range_is_valid()
1204 struct xe_tile *tile = gt_to_tile(gt);
1514 struct xe_tile *tile; in xe_svm_ranges_zap_ptes_in_range()
1567 struct drm_pagemap *xe_vma_resolve_pagemap(struct xe_vma *vma, struct xe_tile *tile) in xe_vma_resolve_pagemap()
1855 struct xe_tile *tile; in xe_svm_get_pagemaps()
1901 int xe_pagemap_cache_create(struct xe_tile *tile) in xe_pagemap_cache_create()
1994 int xe_pagemap_cache_create(struct xe_tile *tile) in xe_pagemap_cache_create()
[all …]
H A Dxe_irq.h14 struct xe_tile;
H A Dxe_bo.c169 struct xe_tile *tile; in mem_type_to_migrate()
1707 struct xe_tile *tile; in xe_ttm_bo_destroy()
2133 struct xe_tile *tile, struct dma_resv *resv, in xe_bo_init_locked()
2307 struct xe_tile *tile, struct xe_vm *vm, in __xe_bo_create_locked()
2353 struct xe_tile *t; in __xe_bo_create_locked()
2404 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_locked()
2413 static struct xe_bo *xe_bo_create_novm(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_novm()
2494 struct xe_bo *xe_bo_create_pin_range_novm(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_pin_range_novm()
2527 struct xe_tile *tile, in xe_bo_create_pin_map_at_aligned()
2588 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_sysfs.c34 struct xe_tile *tile = gt_to_tile(gt); in xe_gt_sysfs_init()
H A Dxe_hwmon.c186 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in xe_hwmon_pcode_read_power_limit()
221 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in xe_hwmon_pcode_rmw_power_limit()
757 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in xe_hwmon_pcode_read_thermal_info()
782 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in get_mc_temp()
805 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in get_pcie_temp()
827 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in xe_hwmon_pcode_read_i1()
840 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in xe_hwmon_pcode_write_i1()
849 struct xe_tile *root_tile = xe_device_get_root_tile(hwmon->xe); in xe_hwmon_pcode_read_fan_control()
H A Dxe_vm.c747 struct xe_tile *tile; in xe_vma_rebind()
837 struct xe_tile *tile; in xe_vm_range_rebind()
919 struct xe_tile *tile; in xe_vm_range_unbind()
998 struct xe_tile *tile; in xe_vma_create()
1421 static int xe_vm_create_scratch(struct xe_device *xe, struct xe_tile *tile, in xe_vm_create_scratch()
1444 struct xe_tile *tile; in xe_vm_free_scratch()
1464 struct xe_tile *tile; in xe_vm_pt_destroy()
1484 struct xe_tile *tile; in xe_vm_create()
1705 struct xe_tile *tile; in xe_vm_close()
1736 struct xe_tile *tile; in xe_vm_close_and_put()
[all …]
H A Dxe_migrate.c52 struct xe_tile *tile;
186 static int xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m, in xe_migrate_prepare_vm()
404 struct xe_migrate *xe_migrate_alloc(struct xe_tile *tile) in xe_migrate_alloc()
413 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()
439 struct xe_tile *tile = m->tile; in xe_migrate_init()
1096 int xe_migrate_ccs_rw_copy(struct xe_tile *tile, struct xe_exec_queue *q, in xe_migrate_ccs_rw_copy()
1289 struct xe_tile *tile = vram_bo->tile; in xe_migrate_vram_copy_chunk()
1644 static void write_pgtable(struct xe_tile *tile, struct xe_bb *bb, u64 ppgtt_ofs, in write_pgtable()
1764 struct xe_tile *tile = m->tile; in __xe_migrate_update_pgtables()
2360 struct xe_tile *tile = m->tile; in xe_migrate_access_memory()
H A Dxe_ggtt.c126 struct xe_tile *tile = ggtt->tile; in ggtt_update_access_counter()
240 struct xe_ggtt *xe_ggtt_alloc(struct xe_tile *tile) in xe_ggtt_alloc()
610 struct xe_tile *tile = ggtt->tile; in xe_ggtt_assert_fit()
633 struct xe_tile *tile __maybe_unused = ggtt->tile; in xe_ggtt_shift_nodes_locked()
H A Dxe_exec_queue.h30 struct xe_tile *tile,
H A Dxe_bb.c33 struct xe_tile *tile = gt_to_tile(gt); in xe_bb_new()
/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.c25 static int ccs_test_migrate(struct xe_tile *tile, struct xe_bo *bo, in ccs_test_migrate()
127 static void ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in ccs_test_run_tile()
175 struct xe_tile *tile; in ccs_test_run_device()
207 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile()
349 struct xe_tile *tile; in evict_test_run_device()

12