Searched refs:XE_PAGE_SIZE (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/drivers/gpu/drm/xe/display/ |
| H A D | xe_fb_pin.c | 35 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE, in write_dpt_rotated() 67 pte_encode_bo(bo, src_idx * XE_PAGE_SIZE, in write_dpt_remapped() 95 dpt_size = ALIGN(size / XE_PAGE_SIZE * 8, XE_PAGE_SIZE); in __xe_pin_fb_vma_dpt() 98 XE_PAGE_SIZE); in __xe_pin_fb_vma_dpt() 102 XE_PAGE_SIZE); in __xe_pin_fb_vma_dpt() 134 for (x = 0; x < size / XE_PAGE_SIZE; x++) { in __xe_pin_fb_vma_dpt() 135 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, x * XE_PAGE_SIZE, in __xe_pin_fb_vma_dpt() 185 *ggtt_ofs += XE_PAGE_SIZE; in write_ggtt_rotated() 190 *ggtt_ofs += (dst_stride - height) * XE_PAGE_SIZE; in write_ggtt_rotated() 214 align = XE_PAGE_SIZE; in __xe_pin_fb_vma_ggtt() [all …]
|
| H A D | intel_fbdev_fb.c | 35 DIV_ROUND_UP(sizes->surface_bpp, 8), XE_PAGE_SIZE); in intel_fbdev_fb_alloc() 94 xe_bo_addr(obj, 0, XE_PAGE_SIZE); in intel_fbdev_fb_fill_info()
|
| H A D | xe_plane_initial.c | 93 gte += base / XE_PAGE_SIZE; in initial_plane_bo()
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_migrate.c | 209 num_entries * XE_PAGE_SIZE, in xe_migrate_prepare_vm() 218 pt29_ofs = bo->size - 3 * XE_PAGE_SIZE; in xe_migrate_prepare_vm() 242 XE_PAGE_SIZE) { in xe_migrate_prepare_vm() 259 XE_PAGE_SIZE) { in xe_migrate_prepare_vm() 287 XE_PAGE_SIZE, pat_index); in xe_migrate_prepare_vm() 325 u64 pt31_ofs = bo->size - XE_PAGE_SIZE; in xe_migrate_prepare_vm() 569 u64 ofs = (u64)at_pt * XE_PAGE_SIZE; in emit_pte() 579 ptes = DIV_ROUND_UP(size, XE_PAGE_SIZE); in emit_pte() 599 u64 va = cur_ofs * XE_PAGE_SIZE / 8; in emit_pte() 1215 XE_PAGE_SIZE), false); in write_pgtable() [all …]
|
| H A D | xe_ggtt.c | 72 pte = xe_bo_addr(bo, bo_offset, XE_PAGE_SIZE); in xelp_ggtt_pte_encode_bo() 159 start += XE_PAGE_SIZE; in xe_ggtt_clear() 233 ggtt->size = (gsm_size / 8) * (u64) XE_PAGE_SIZE; in xe_ggtt_init_early() 374 ggtt->scratch = xe_managed_bo_create_pin_map(xe, ggtt->tile, XE_PAGE_SIZE, flags); in xe_ggtt_init() 447 xe_tile_assert(ggtt->tile, IS_ALIGNED(start, XE_PAGE_SIZE)); in xe_ggtt_node_insert_balloon() 448 xe_tile_assert(ggtt->tile, IS_ALIGNED(end, XE_PAGE_SIZE)); in xe_ggtt_node_insert_balloon() 606 for (offset = 0; offset < bo->size; offset += XE_PAGE_SIZE) { in xe_ggtt_map_bo() 615 u64 alignment = bo->min_align > 0 ? bo->min_align : XE_PAGE_SIZE; in __xe_ggtt_insert_bo_at() 762 start += XE_PAGE_SIZE; in xe_ggtt_assign_locked()
|
| H A 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()
|
| H A D | xe_bo.h | 60 #define XE_PAGE_SIZE (1 << XE_PTE_SHIFT) macro 61 #define XE_PTE_MASK (XE_PAGE_SIZE - 1)
|
| H A D | xe_pxp_submit.c | 83 #define PXP_BB_SIZE XE_PAGE_SIZE 195 err = allocate_gsc_client_resources(pxp->gt, &pxp->gsc_res, XE_PAGE_SIZE); in xe_pxp_allocate_execution_resources()
|
| H A D | xe_vm.c | 1492 pde = xe_bo_addr(bo, bo_offset, XE_PAGE_SIZE); in xelp_pde_encode_bo() 1504 pte = xe_bo_addr(bo, bo_offset, XE_PAGE_SIZE); in xelp_pte_encode_bo() 2091 args->reserved[0] = xe_bo_main_addr(vm->pt_root[0]->bo, XE_PAGE_SIZE); in xe_vm_create_ioctl()
|
| H A D | xe_oa.c | 900 config_length = ALIGN(sizeof(u32) * config_length, XE_PAGE_SIZE) / sizeof(u32); in __xe_oa_alloc_config_buffer()
|
| /linux-6.15/drivers/gpu/drm/xe/tests/ |
| H A D | xe_migrate.c | 212 pt = xe_bo_create_pin_map(xe, tile, m->q->vm, XE_PAGE_SIZE, in xe_migrate_sanity_test() 241 (unsigned long)xe_bo_main_addr(m->q->vm->pt_root[id]->bo, XE_PAGE_SIZE), in xe_migrate_sanity_test() 242 (unsigned long)xe_bo_main_addr(m->pt_bo, XE_PAGE_SIZE)); in xe_migrate_sanity_test() 245 xe_map_wr(xe, &bo->vmap, XE_PAGE_SIZE * (NUM_KERNEL_PDE - 1), u64, in xe_migrate_sanity_test() 256 &src_it, XE_PAGE_SIZE, pt->ttm.resource); in xe_migrate_sanity_test() 260 retval = xe_map_rd(xe, &bo->vmap, XE_PAGE_SIZE * (NUM_KERNEL_PDE - 1), in xe_migrate_sanity_test() 447 emit_copy(gt, bb, src_L0_ofs, dst_L0_ofs, src_L0, XE_PAGE_SIZE); in blt_copy()
|