Lines Matching refs:xe_pt
28 struct xe_pt pt;
46 static struct xe_pt_dir *as_xe_pt_dir(struct xe_pt *pt) in as_xe_pt_dir()
51 static struct xe_pt *xe_pt_entry(struct xe_pt_dir *pt_dir, unsigned int index) in xe_pt_entry()
53 return container_of(pt_dir->children[index], struct xe_pt, base); in xe_pt_entry()
74 static void xe_pt_free(struct xe_pt *pt) in xe_pt_free()
97 struct xe_pt *xe_pt_create(struct xe_vm *vm, struct xe_tile *tile, in xe_pt_create()
100 struct xe_pt *pt; in xe_pt_create()
151 struct xe_pt *pt) in xe_pt_populate_empty()
193 void xe_pt_destroy(struct xe_pt *pt, u32 flags, struct llist_head *deferred) in xe_pt_destroy()
247 struct xe_pt *parent;
304 xe_pt_new_shared(struct xe_walk_update *wupd, struct xe_pt *parent, in xe_pt_new_shared()
352 xe_pt_insert_entry(struct xe_pt_stage_bind_walk *xe_walk, struct xe_pt *parent, in xe_pt_insert_entry()
353 pgoff_t offset, struct xe_pt *xe_child, u64 pte) in xe_pt_insert_entry()
485 struct xe_pt *xe_parent = container_of(parent, typeof(*xe_parent), base); in xe_pt_stage_bind_entry()
487 struct xe_pt *xe_child; in xe_pt_stage_bind_entry()
625 struct xe_pt *pt = xe_vma_vm(vma)->pt_root[tile->id]; in xe_pt_stage_bind()
768 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base); in xe_pt_zap_ptes_entry()
820 struct xe_pt *pt = xe_vma_vm(vma)->pt_root[tile->id]; in xe_pt_zap_ptes()
858 struct xe_pt *pt = entries[i].pt; in xe_pt_cancel_bind()
896 struct xe_pt *pt = entries[i].pt; in xe_pt_commit()
902 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_commit()
918 struct xe_pt *pt = entries[i].pt; in xe_pt_abort_bind()
930 struct xe_pt *newpte = xe_pt_entry(pt_dir, j_); in xe_pt_abort_bind()
931 struct xe_pt *oldpte = entries[i].pt_entries[j].pt; in xe_pt_abort_bind()
948 struct xe_pt *pt = entries[i].pt; in xe_pt_commit_prepare_bind()
960 struct xe_pt *newpte = entries[i].pt_entries[j].pt; in xe_pt_commit_prepare_bind()
961 struct xe_pt *oldpte = NULL; in xe_pt_commit_prepare_bind()
1006 struct xe_pt *xe_pt = entry->pt; in xe_vm_dbg_print_entries() local
1007 u64 page_size = 1ull << xe_pt_shift(xe_pt->level); in xe_vm_dbg_print_entries()
1016 i, xe_pt->level, entry->ofs, entry->qwords, in xe_vm_dbg_print_entries()
1017 xe_pt_addr(xe_pt) + start, xe_pt_addr(xe_pt) + end, 0); in xe_vm_dbg_print_entries()
1411 const struct xe_pt *child, in xe_pt_check_kill()
1443 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base); in xe_pt_stage_unbind_entry()
1462 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base); in xe_pt_stage_unbind_post_descend()
1523 struct xe_pt *pt = xe_vma_vm(vma)->pt_root[tile->id]; in xe_pt_stage_unbind()
1562 struct xe_pt *pt = entry->pt; in xe_pt_abort_unbind()
1588 struct xe_pt *pt = entry->pt; in xe_pt_commit_prepare_unbind()