Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/xe/
H A Dxe_pt.h17 struct xe_tile;
30 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile,
33 void xe_pt_populate_empty(struct xe_tile *tile, struct xe_vm *vm,
38 int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops);
39 struct dma_fence *xe_pt_update_ops_run(struct xe_tile *tile,
41 void xe_pt_update_ops_fini(struct xe_tile *tile, struct xe_vma_ops *vops);
42 void xe_pt_update_ops_abort(struct xe_tile *tile, struct xe_vma_ops *vops);
44 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma);
H A Dxe_pcode.h10 struct xe_tile;
13 void xe_pcode_init(struct xe_tile *tile);
16 int xe_pcode_init_min_freq_table(struct xe_tile *tile, u32 min_gt_freq,
18 int xe_pcode_read(struct xe_tile *tile, u32 mbox, u32 *val, u32 *val1);
19 int xe_pcode_write_timeout(struct xe_tile *tile, u32 mbox, u32 val,
24 int xe_pcode_request(struct xe_tile *tile, u32 mbox, u32 request,
H A Dxe_pcode.c32 static int pcode_mailbox_status(struct xe_tile *tile) in pcode_mailbox_status()
57 static int __pcode_mailbox_rw(struct xe_tile *tile, u32 mbox, u32 *data0, u32 *data1, in __pcode_mailbox_rw()
88 static int pcode_mailbox_rw(struct xe_tile *tile, u32 mbox, u32 *data0, u32 *data1, in pcode_mailbox_rw()
100 int xe_pcode_write_timeout(struct xe_tile *tile, u32 mbox, u32 data, int timeout) in xe_pcode_write_timeout()
111 int xe_pcode_read(struct xe_tile *tile, u32 mbox, u32 *val, u32 *val1) in xe_pcode_read()
122 static int pcode_try_request(struct xe_tile *tile, u32 mbox, in pcode_try_request()
169 int xe_pcode_request(struct xe_tile *tile, u32 mbox, u32 request, in xe_pcode_request()
230 int xe_pcode_init_min_freq_table(struct xe_tile *tile, u32 min_gt_freq, in xe_pcode_init_min_freq_table()
273 struct xe_tile *tile = xe_device_get_root_tile(xe); in xe_pcode_ready()
308 void xe_pcode_init(struct xe_tile *tile) in xe_pcode_init()
H A Dxe_tile.h11 struct xe_tile;
13 int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id);
14 int xe_tile_init_noalloc(struct xe_tile *tile);
16 void xe_tile_migrate_wait(struct xe_tile *tile);
H A Dxe_bo.h84 struct xe_tile *tile, struct dma_resv *resv,
90 struct xe_tile *tile, struct xe_vm *vm,
93 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile,
96 struct xe_bo *xe_bo_create(struct xe_device *xe, struct xe_tile *tile,
99 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_tile *tile,
103 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
106 struct xe_bo *xe_bo_create_pin_map_at(struct xe_device *xe, struct xe_tile *tile,
110 struct xe_tile *tile,
115 struct xe_bo *xe_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile,
118 struct xe_bo *xe_managed_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
[all …]
H A Dxe_migrate.h22 struct xe_tile;
47 struct xe_tile *tile, struct iosys_map *map,
65 struct xe_tile *tile, struct iosys_map *map,
96 struct xe_migrate *xe_migrate_init(struct xe_tile *tile);
122 struct xe_exec_queue *xe_tile_migrate_exec_queue(struct xe_tile *tile);
H A Dxe_tile.c87 static int xe_tile_alloc(struct xe_tile *tile) in xe_tile_alloc()
115 int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id) in xe_tile_init_early()
136 static int tile_ttm_mgr_init(struct xe_tile *tile) in tile_ttm_mgr_init()
165 int xe_tile_init_noalloc(struct xe_tile *tile) in xe_tile_init_noalloc()
184 void xe_tile_migrate_wait(struct xe_tile *tile) in xe_tile_migrate_wait()
H A Dxe_vram_freq.c28 static struct xe_tile *dev_to_tile(struct device *dev) in dev_to_tile()
36 struct xe_tile *tile = dev_to_tile(dev); in max_freq_show()
58 struct xe_tile *tile = dev_to_tile(dev); in min_freq_show()
104 int xe_vram_freq_sysfs_init(struct xe_tile *tile) in xe_vram_freq_sysfs_init()
H A Dxe_irq.c58 static void unmask_and_enable(struct xe_tile *tile, u32 irqregs, u32 bits) in unmask_and_enable()
76 static void mask_and_disable(struct xe_tile *tile, u32 irqregs) in mask_and_disable()
267 static struct xe_gt *pick_engine_gt(struct xe_tile *tile, in pick_engine_gt()
295 static void gt_irq_handler(struct xe_tile *tile, in gt_irq_handler()
352 struct xe_tile *tile = xe_device_get_root_tile(xe); in xelp_irq_handler()
414 struct xe_tile *tile; in dg1_irq_handler()
473 static void gt_irq_reset(struct xe_tile *tile) in gt_irq_reset()
521 static void xelp_irq_reset(struct xe_tile *tile) in xelp_irq_reset()
533 static void dg1_irq_reset(struct xe_tile *tile) in dg1_irq_reset()
546 static void dg1_irq_reset_mstr(struct xe_tile *tile) in dg1_irq_reset_mstr()
[all …]
H A Dxe_device_types.h66 const struct xe_tile * : (const struct xe_device *)((tile__)->xe), \
67 struct xe_tile * : (tile__)->xe)
117 struct xe_tile *tile;
160 struct xe_tile { struct
432 struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
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_wa.h14 struct xe_tile;
21 void xe_wa_apply_tile_workarounds(struct xe_tile *tile);
H A Dxe_sa.h12 struct xe_tile;
14 struct xe_sa_manager *xe_sa_bo_manager_init(struct xe_tile *tile, u32 size, u32 align);
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_ttm_vram_mgr.h13 struct xe_tile;
18 int xe_ttm_vram_mgr_init(struct xe_tile *tile, struct xe_ttm_vram_mgr *mgr);
H A Dxe_mmio.c29 struct xe_tile *tile; in tiles_fini()
57 struct xe_tile *tile; in mmio_multi_tile_setup()
127 struct xe_tile *tile; in mmio_extension_setup()
157 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in mmio_fini()
166 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in xe_mmio_init()
H A Dxe_pt.c59 static u64 __xe_pt_empty_pte(struct xe_tile *tile, struct xe_vm *vm, in __xe_pt_empty_pte()
100 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile, in xe_pt_create()
155 void xe_pt_populate_empty(struct xe_tile *tile, struct xe_vm *vm, in xe_pt_populate_empty()
265 struct xe_tile *tile;
610 xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_stage_bind()
761 struct xe_tile *tile;
818 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma) in xe_pt_zap_ptes()
841 xe_vm_populate_pgtable(struct xe_migrate_pt_update *pt_update, struct xe_tile *tile, in xe_vm_populate_pgtable()
1004 xe_pt_prepare_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_prepare_bind()
1390 struct xe_tile *tile;
[all …]
H A Dxe_device.h58 static inline struct xe_tile *xe_device_get_root_tile(struct xe_device *xe) in xe_device_get_root_tile()
65 static inline struct xe_gt *xe_tile_get_gt(struct xe_tile *tile, u8 gt_id) in xe_tile_get_gt()
75 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in xe_device_get_gt()
H A Dxe_bo_evict.c31 struct xe_tile *tile; in xe_bo_evict_all()
155 struct xe_tile *tile; in xe_bo_restore_kernel()
196 struct xe_tile *tile; in xe_bo_restore_user()
H A Dxe_memirq.c38 static struct xe_tile *memirq_to_tile(struct xe_memirq *memirq) in memirq_to_tile()
40 return container_of(memirq, struct xe_tile, memirq); in memirq_to_tile()
171 struct xe_tile *tile = memirq_to_tile(memirq); in memirq_alloc_pages()
472 struct xe_tile *tile = memirq_to_tile(memirq); in xe_memirq_handler()
H A Dxe_vram.c218 static int tile_vram_size(struct xe_tile *tile, u64 *vram_size, in tile_vram_size()
228 struct xe_tile *t; in tile_vram_size()
275 struct xe_tile *tile; in vram_fini()
297 struct xe_tile *tile; in xe_vram_probe()
/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()
173 struct xe_tile *tile; in ccs_test_run_device()
208 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()

123