| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_pt.h | 18 struct xe_tile; 31 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile, 34 void xe_pt_populate_empty(struct xe_tile *tile, struct xe_vm *vm, 41 int xe_pt_update_ops_prepare(struct xe_tile *tile, struct xe_vma_ops *vops); 42 struct dma_fence *xe_pt_update_ops_run(struct xe_tile *tile, 44 void xe_pt_update_ops_fini(struct xe_tile *tile, struct xe_vma_ops *vops); 45 void xe_pt_update_ops_abort(struct xe_tile *tile, struct xe_vma_ops *vops); 47 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma); 48 bool xe_pt_zap_ptes_range(struct xe_tile *tile, struct xe_vm *vm,
|
| H A D | xe_pcode.h | 10 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 D | xe_tile.h | 11 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); 15 int xe_tile_init(struct xe_tile *tile); 17 void xe_tile_migrate_wait(struct xe_tile *tile);
|
| H A D | xe_pcode.c | 32 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 D | xe_tile.c | 88 static int xe_tile_alloc(struct xe_tile *tile) in xe_tile_alloc() 112 int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id) in xe_tile_init_early() 133 static int tile_ttm_mgr_init(struct xe_tile *tile) in tile_ttm_mgr_init() 162 int xe_tile_init_noalloc(struct xe_tile *tile) in xe_tile_init_noalloc() 179 int xe_tile_init(struct xe_tile *tile) in xe_tile_init() 187 void xe_tile_migrate_wait(struct xe_tile *tile) in xe_tile_migrate_wait()
|
| H A D | xe_migrate.h | 22 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); 132 struct xe_exec_queue *xe_tile_migrate_exec_queue(struct xe_tile *tile);
|
| H A D | xe_svm.h | 16 struct xe_tile; 53 int xe_devm_add(struct xe_tile *tile, struct xe_vram_region *vr); 62 struct xe_tile *tile, u64 fault_addr, 80 int xe_devm_add(struct xe_tile *tile, struct xe_vram_region *vr) in xe_devm_add() 103 struct xe_tile *tile, u64 fault_addr, in xe_svm_handle_pagefault()
|
| H A D | xe_bo.h | 87 struct xe_tile *tile, struct dma_resv *resv, 93 struct xe_tile *tile, struct xe_vm *vm, 96 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile, 99 struct xe_bo *xe_bo_create(struct xe_device *xe, struct xe_tile *tile, 102 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_tile *tile, 106 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile, 109 struct xe_bo *xe_bo_create_pin_map_at(struct xe_device *xe, struct xe_tile *tile, 113 struct xe_tile *tile, 118 struct xe_bo *xe_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile, 121 struct xe_bo *xe_managed_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile, [all …]
|
| H A D | xe_vram_freq.c | 28 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 D | xe_sa.h | 13 struct xe_tile; 15 struct xe_sa_manager *__xe_sa_bo_manager_init(struct xe_tile *tile, u32 size, u32 guard, u32 align); 18 static inline struct xe_sa_manager *xe_sa_bo_manager_init(struct xe_tile *tile, u32 size, u32 align) in xe_sa_bo_manager_init()
|
| H A D | xe_irq.c | 305 static void gt_irq_handler(struct xe_tile *tile, in gt_irq_handler() 430 struct xe_tile *tile; in dg1_irq_handler() 489 static void gt_irq_reset(struct xe_tile *tile) in gt_irq_reset() 551 static void dg1_irq_reset(struct xe_tile *tile) in dg1_irq_reset() 573 struct xe_tile *tile; in vf_irq_reset() 593 struct xe_tile *tile; in xe_irq_reset() 628 struct xe_tile *tile; in vf_irq_postinstall() 647 struct xe_tile *tile; in xe_irq_postinstall() 673 struct xe_tile *tile; in vf_mem_irq_handler() 846 struct xe_tile *tile; in guc2host_irq_handler() [all …]
|
| H A D | xe_vram_freq.h | 9 struct xe_tile; 11 int xe_vram_freq_sysfs_init(struct xe_tile *tile);
|
| H A D | xe_tile_sysfs_types.h | 11 struct xe_tile; 24 struct xe_tile *tile;
|
| H A D | xe_tile_sysfs.h | 11 int xe_tile_sysfs_init(struct xe_tile *tile); 13 static inline struct xe_tile *
|
| H A D | xe_device_types.h | 71 const struct xe_tile * : (const struct xe_device *)((tile__)->xe), \ 72 struct xe_tile * : (tile__)->xe) 137 struct xe_tile *tile; 180 struct xe_tile { struct 447 struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
|
| H A D | xe_svm.c | 137 struct xe_tile *tile; in xe_svm_range_notifier_event_begin() 189 struct xe_tile *tile; in xe_svm_invalidate() 356 static struct xe_tile *vr_to_tile(struct xe_vram_region *vr) in vr_to_tile() 358 return container_of(vr, struct xe_tile, mem.vram); in vr_to_tile() 365 struct xe_tile *tile = vr_to_tile(vr); in xe_vram_region_page_to_dpa() 387 struct xe_tile *tile; in xe_svm_copy() 554 static struct drm_buddy *tile_to_buddy(struct xe_tile *tile) in tile_to_buddy() 570 struct xe_tile *tile = vr_to_tile(vr); in xe_svm_populate_devmem_pfn() 657 struct xe_tile *tile, in xe_svm_range_is_valid() 669 static struct xe_vram_region *tile_to_vr(struct xe_tile *tile) in tile_to_vr() [all …]
|
| H A D | xe_wa.h | 14 struct xe_tile; 21 void xe_wa_apply_tile_workarounds(struct xe_tile *tile);
|
| H A D | xe_tile_sysfs.c | 27 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 D | xe_ttm_vram_mgr.h | 13 struct xe_tile; 18 int xe_ttm_vram_mgr_init(struct xe_tile *tile, struct xe_ttm_vram_mgr *mgr);
|
| H A D | xe_mmio.c | 29 struct xe_tile *tile; in tiles_fini() 57 struct xe_tile *tile; in mmio_multi_tile_setup() 112 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in mmio_fini() 121 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in xe_mmio_probe_early() 151 void xe_mmio_init(struct xe_mmio *mmio, struct xe_tile *tile, void __iomem *ptr, u32 size) in xe_mmio_init()
|
| H A D | xe_device.h | 58 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 D | xe_pt.c | 280 struct xe_tile *tile; 626 xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_stage_bind() 810 struct xe_tile *tile; 1104 xe_pt_prepare_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_prepare_bind() 1532 struct xe_tile *tile; 1654 static unsigned int xe_pt_stage_unbind(struct xe_tile *tile, in xe_pt_stage_unbind() 1684 struct xe_tile *tile, struct iosys_map *map, in xe_migrate_clear_pgtable_callback() 1901 static int unbind_op_prepare(struct xe_tile *tile, in unbind_op_prepare() 1944 struct xe_tile *tile, in unbind_range_prepare() 1980 struct xe_tile *tile, in op_prepare() [all …]
|
| H A D | xe_bo_evict.c | 31 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 D | xe_memirq.c | 38 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()
|
| /linux-6.15/Documentation/gpu/xe/ |
| H A D | xe_tile.rst | 7 .. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c 13 .. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c
|