Lines Matching refs:xe_child
353 pgoff_t offset, struct xe_pt *xe_child, u64 pte) in xe_pt_insert_entry() argument
356 struct xe_pt_update *child_upd = xe_child ? in xe_pt_insert_entry()
357 &xe_walk->wupd.updates[xe_child->level] : NULL; in xe_pt_insert_entry()
370 child_upd->parent = xe_child; in xe_pt_insert_entry()
378 if (unlikely(xe_child)) in xe_pt_insert_entry()
379 parent->base.children[offset] = &xe_child->base; in xe_pt_insert_entry()
389 entry->pt_entries[idx].pt = xe_child; in xe_pt_insert_entry()
487 struct xe_pt *xe_child; in xe_pt_stage_bind_entry() local
544 xe_child = xe_pt_create(xe_walk->vm, xe_walk->tile, level - 1); in xe_pt_stage_bind_entry()
545 if (IS_ERR(xe_child)) in xe_pt_stage_bind_entry()
546 return PTR_ERR(xe_child); in xe_pt_stage_bind_entry()
548 xe_pt_set_addr(xe_child, in xe_pt_stage_bind_entry()
552 xe_pt_populate_empty(xe_walk->tile, xe_walk->vm, xe_child); in xe_pt_stage_bind_entry()
554 *child = &xe_child->base; in xe_pt_stage_bind_entry()
568 xe_child->is_compact = true; in xe_pt_stage_bind_entry()
571 pte = vm->pt_ops->pde_encode_bo(xe_child->bo, 0, pat_index) | flags; in xe_pt_stage_bind_entry()
572 ret = xe_pt_insert_entry(xe_walk, xe_parent, offset, xe_child, in xe_pt_stage_bind_entry()
768 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base); in xe_pt_zap_ptes_entry() local
781 xe_map_memset(tile_to_xe(xe_walk->tile), &xe_child->bo->vmap, in xe_pt_zap_ptes_entry()
1443 struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base); in xe_pt_stage_unbind_entry() local
1448 xe_pt_check_kill(addr, next, level - 1, xe_child, action, walk); 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() local
1474 xe_pt_check_kill(addr, next, level, xe_child, action, walk)) in xe_pt_stage_unbind_post_descend()
1481 err = xe_pt_new_shared(&xe_walk->wupd, xe_child, offset, true); in xe_pt_stage_unbind_post_descend()