/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_pt.h | 17 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);
|
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,
|
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()
|
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); 16 void xe_tile_migrate_wait(struct xe_tile *tile);
|
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); 122 struct xe_exec_queue *xe_tile_migrate_exec_queue(struct xe_tile *tile);
|
D | xe_bo.h | 72 struct xe_tile *tile, struct dma_resv *resv, 78 struct xe_tile *tile, struct xe_vm *vm, 81 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile, 84 struct xe_bo *xe_bo_create(struct xe_device *xe, struct xe_tile *tile, 87 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_tile *tile, 91 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile, 94 struct xe_bo *xe_bo_create_pin_map_at(struct xe_device *xe, struct xe_tile *tile, 97 struct xe_bo *xe_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile, 100 struct xe_bo *xe_managed_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile, 102 struct xe_bo *xe_managed_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile, [all …]
|
D | xe_tile.c | 85 static int xe_tile_alloc(struct xe_tile *tile) in xe_tile_alloc() 113 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() 181 void xe_tile_migrate_wait(struct xe_tile *tile) in xe_tile_migrate_wait()
|
D | xe_mmio.c | 29 struct xe_tile *tile; in tiles_fini() 51 struct xe_tile *tile; in mmio_multi_tile_setup() 120 struct xe_tile *tile; in mmio_extension_setup() 149 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in mmio_fini() 158 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in xe_mmio_init() 184 struct xe_tile *tile = gt_to_tile(gt); in mmio_flush_pending_writes() 197 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_read8() 212 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_read16() 227 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_write32() 240 struct xe_tile *tile = gt_to_tile(gt); in xe_mmio_read32()
|
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()
|
D | xe_irq.c | 53 static void unmask_and_enable(struct xe_tile *tile, u32 irqregs, u32 bits) in unmask_and_enable() 71 static void mask_and_disable(struct xe_tile *tile, u32 irqregs) in mask_and_disable() 261 static struct xe_gt *pick_engine_gt(struct xe_tile *tile, in pick_engine_gt() 289 static void gt_irq_handler(struct xe_tile *tile, in gt_irq_handler() 346 struct xe_tile *tile = xe_device_get_root_tile(xe); in xelp_irq_handler() 412 struct xe_tile *tile; in dg1_irq_handler() 475 static void gt_irq_reset(struct xe_tile *tile) in gt_irq_reset() 523 static void xelp_irq_reset(struct xe_tile *tile) in xelp_irq_reset() 535 static void dg1_irq_reset(struct xe_tile *tile) in dg1_irq_reset() 548 static void dg1_irq_reset_mstr(struct xe_tile *tile) in dg1_irq_reset_mstr() [all …]
|
D | xe_vram_freq.h | 9 struct xe_tile; 11 int xe_vram_freq_sysfs_init(struct xe_tile *tile);
|
D | xe_tile_sysfs_types.h | 11 struct xe_tile; 24 struct xe_tile *tile;
|
D | xe_tile_sysfs.h | 11 int xe_tile_sysfs_init(struct xe_tile *tile); 13 static inline struct xe_tile *
|
D | xe_wa.h | 14 struct xe_tile; 21 void xe_wa_apply_tile_workarounds(struct xe_tile *tile);
|
D | xe_sa.h | 12 struct xe_tile; 14 struct xe_sa_manager *xe_sa_bo_manager_init(struct xe_tile *tile, u32 size, u32 align);
|
D | xe_device_types.h | 69 const struct xe_tile * : (const struct xe_device *)((tile__)->xe), \ 70 struct xe_tile * : (tile__)->xe) 124 struct xe_tile { struct 394 struct xe_tile tiles[XE_MAX_TILES_PER_DEVICE];
|
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()
|
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);
|
D | xe_device.h | 56 static inline struct xe_tile *xe_device_get_root_tile(struct xe_device *xe) in xe_device_get_root_tile() 63 static inline struct xe_gt *xe_tile_get_gt(struct xe_tile *tile, u8 gt_id) in xe_tile_get_gt() 73 struct xe_tile *root_tile = xe_device_get_root_tile(xe); in xe_device_get_gt()
|
D | xe_pt.c | 56 static u64 __xe_pt_empty_pte(struct xe_tile *tile, struct xe_vm *vm, in __xe_pt_empty_pte() 97 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile, in xe_pt_create() 150 void xe_pt_populate_empty(struct xe_tile *tile, struct xe_vm *vm, in xe_pt_populate_empty() 260 struct xe_tile *tile; 603 xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_stage_bind() 753 struct xe_tile *tile; 810 bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma) in xe_pt_zap_ptes() 833 xe_vm_populate_pgtable(struct xe_migrate_pt_update *pt_update, struct xe_tile *tile, in xe_vm_populate_pgtable() 982 xe_pt_prepare_bind(struct xe_tile *tile, struct xe_vma *vma, in xe_pt_prepare_bind() 1389 struct xe_tile *tile; [all …]
|
D | xe_bo_evict.c | 31 struct xe_tile *tile; in xe_bo_evict_all() 155 struct xe_tile *tile = bo->tile; in xe_bo_restore_kernel() 190 struct xe_tile *tile; in xe_bo_restore_user()
|
D | xe_memirq.c | 28 static struct xe_tile *memirq_to_tile(struct xe_memirq *memirq) in memirq_to_tile() 30 return container_of(memirq, struct xe_tile, sriov.vf.memirq); in memirq_to_tile() 120 struct xe_tile *tile = memirq_to_tile(memirq); in memirq_alloc_pages() 390 struct xe_tile *tile = memirq_to_tile(memirq); in xe_memirq_handler()
|
D | xe_vram.c | 217 static int tile_vram_size(struct xe_tile *tile, u64 *vram_size, in tile_vram_size() 227 struct xe_tile *t; in tile_vram_size() 272 struct xe_tile *tile; in vram_fini() 294 struct xe_tile *tile; in xe_vram_probe()
|
/linux-6.12.1/Documentation/gpu/xe/ |
D | xe_tile.rst | 7 .. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c 13 .. kernel-doc:: drivers/gpu/drm/xe/xe_tile.c
|
/linux-6.12.1/drivers/gpu/drm/xe/tests/ |
D | xe_bo.c | 17 static int ccs_test_migrate(struct xe_tile *tile, struct xe_bo *bo, in ccs_test_migrate() 112 static void ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in ccs_test_run_tile() 159 struct xe_tile *tile; in ccs_test_run_device() 194 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile() 336 struct xe_tile *tile; in evict_test_run_device()
|