Searched refs:XE_PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/xe/display/ |
D | xe_fb_pin.c | 33 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE, in write_dpt_rotated() 65 pte_encode_bo(bo, src_idx * XE_PAGE_SIZE, in write_dpt_remapped() 91 dpt_size = ALIGN(size / XE_PAGE_SIZE * 8, XE_PAGE_SIZE); in __xe_pin_fb_vma_dpt() 94 XE_PAGE_SIZE); in __xe_pin_fb_vma_dpt() 98 XE_PAGE_SIZE); in __xe_pin_fb_vma_dpt() 124 for (x = 0; x < size / XE_PAGE_SIZE; x++) { in __xe_pin_fb_vma_dpt() 125 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, x * XE_PAGE_SIZE, in __xe_pin_fb_vma_dpt() 171 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE, in write_ggtt_rotated() 175 *ggtt_ofs += XE_PAGE_SIZE; in write_ggtt_rotated() 180 *ggtt_ofs += (dst_stride - height) * XE_PAGE_SIZE; in write_ggtt_rotated() [all …]
|
D | intel_fbdev_fb.c | 34 DIV_ROUND_UP(sizes->surface_bpp, 8), XE_PAGE_SIZE); in intel_fbdev_fb_alloc() 92 xe_bo_addr(obj, 0, XE_PAGE_SIZE); in intel_fbdev_fb_fill_info()
|
D | xe_plane_initial.c | 76 gte += base / XE_PAGE_SIZE; in initial_plane_bo()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_migrate.c | 149 ofs = map_ofs + XE_PAGE_SIZE * level + vram_offset * 8; in xe_migrate_program_identity() 199 BUILD_BUG_ON(NUM_PT_SLOTS > SZ_2M/XE_PAGE_SIZE); in xe_migrate_prepare_vm() 201 BUILD_BUG_ON(NUM_PT_SLOTS * XE_PAGE_SIZE % SZ_64K); in xe_migrate_prepare_vm() 209 num_entries * XE_PAGE_SIZE, in xe_migrate_prepare_vm() 217 pt29_ofs = bo->size - 3 * XE_PAGE_SIZE; in xe_migrate_prepare_vm() 221 map_ofs = (num_entries - num_setup) * XE_PAGE_SIZE; in xe_migrate_prepare_vm() 225 entry = vm->pt_ops->pte_encode_bo(bo, i * XE_PAGE_SIZE, in xe_migrate_prepare_vm() 238 m->batch_base_ofs = NUM_PT_SLOTS * XE_PAGE_SIZE; in xe_migrate_prepare_vm() 241 XE_PAGE_SIZE) { in xe_migrate_prepare_vm() 258 XE_PAGE_SIZE) { in xe_migrate_prepare_vm() [all …]
|
D | xe_ggtt.c | 71 pte = xe_bo_addr(bo, bo_offset, XE_PAGE_SIZE); in xelp_ggtt_pte_encode_bo() 156 start += XE_PAGE_SIZE; in xe_ggtt_clear() 230 ggtt->size = (gsm_size / 8) * (u64) XE_PAGE_SIZE; in xe_ggtt_init_early() 370 ggtt->scratch = xe_managed_bo_create_pin_map(xe, ggtt->tile, XE_PAGE_SIZE, flags); in xe_ggtt_init() 443 xe_tile_assert(ggtt->tile, IS_ALIGNED(start, XE_PAGE_SIZE)); in xe_ggtt_node_insert_balloon() 444 xe_tile_assert(ggtt->tile, IS_ALIGNED(end, XE_PAGE_SIZE)); in xe_ggtt_node_insert_balloon() 602 for (offset = 0; offset < bo->size; offset += XE_PAGE_SIZE) { in xe_ggtt_map_bo() 612 u64 alignment = XE_PAGE_SIZE; in __xe_ggtt_insert_bo_at() 755 start += XE_PAGE_SIZE; in xe_ggtt_assign_locked()
|
D | xe_lmtt.c | 190 dma_addr_t offset = xe_bo_main_addr(lmtt->pd->bo, XE_PAGE_SIZE); in lmtt_setup_dir_ptr() 293 pt_addr = xe_bo_main_addr(pt->bo, XE_PAGE_SIZE); in __lmtt_alloc_range() 336 pt_addr = xe_bo_main_addr(pt->bo, XE_PAGE_SIZE); in lmtt_alloc_range()
|
D | xe_bo.h | 47 #define XE_PAGE_SIZE (1 << XE_PTE_SHIFT) macro 48 #define XE_PTE_MASK (XE_PAGE_SIZE - 1)
|
D | xe_vm.c | 1254 pde = xe_bo_addr(bo, bo_offset, XE_PAGE_SIZE); in xelp_pde_encode_bo() 1266 pte = xe_bo_addr(bo, bo_offset, XE_PAGE_SIZE); in xelp_pte_encode_bo() 1789 args->reserved[0] = xe_bo_main_addr(vm->pt_root[0]->bo, XE_PAGE_SIZE); in xe_vm_create_ioctl()
|
D | xe_oa.c | 877 config_length = ALIGN(sizeof(u32) * config_length, XE_PAGE_SIZE) / sizeof(u32); in __xe_oa_alloc_config_buffer()
|
/linux-6.12.1/drivers/gpu/drm/xe/tests/ |
D | xe_migrate.c | 211 pt = xe_bo_create_pin_map(xe, tile, m->q->vm, XE_PAGE_SIZE, in xe_migrate_sanity_test() 240 (unsigned long)xe_bo_main_addr(m->q->vm->pt_root[id]->bo, XE_PAGE_SIZE), in xe_migrate_sanity_test() 241 (unsigned long)xe_bo_main_addr(m->pt_bo, XE_PAGE_SIZE)); in xe_migrate_sanity_test() 244 xe_map_wr(xe, &bo->vmap, XE_PAGE_SIZE * (NUM_KERNEL_PDE - 1), u64, in xe_migrate_sanity_test() 255 &src_it, XE_PAGE_SIZE, pt->ttm.resource); in xe_migrate_sanity_test() 259 retval = xe_map_rd(xe, &bo->vmap, XE_PAGE_SIZE * (NUM_KERNEL_PDE - 1), in xe_migrate_sanity_test() 446 emit_copy(gt, bb, src_L0_ofs, dst_L0_ofs, src_L0, XE_PAGE_SIZE); in blt_copy()
|