Lines Matching refs:pt_root
1345 for (i = MAX_HUGEPTE_LEVEL; i < vm->pt_root[id]->level; i++) { in xe_vm_create_scratch()
1367 if (!vm->pt_root[id]) in xe_vm_free_scratch()
1370 for (i = MAX_HUGEPTE_LEVEL; i < vm->pt_root[id]->level; ++i) in xe_vm_free_scratch()
1448 vm->pt_root[id] = xe_pt_create(vm, tile, xe->info.vm_max_level); in xe_vm_create()
1449 if (IS_ERR(vm->pt_root[id])) { in xe_vm_create()
1450 err = PTR_ERR(vm->pt_root[id]); in xe_vm_create()
1451 vm->pt_root[id] = NULL; in xe_vm_create()
1458 if (!vm->pt_root[id]) in xe_vm_create()
1475 if (!vm->pt_root[id]) in xe_vm_create()
1478 xe_pt_populate_empty(tile, vm, vm->pt_root[id]); in xe_vm_create()
1488 if (!vm->pt_root[id]) in xe_vm_create()
1596 if (vm->pt_root[id]) { in xe_vm_close_and_put()
1597 xe_pt_destroy(vm->pt_root[id], vm->flags, NULL); in xe_vm_close_and_put()
1598 vm->pt_root[id] = NULL; in xe_vm_close_and_put()
1654 XE_WARN_ON(vm->pt_root[id]); in vm_destroy_work_func()
1689 return vm->pt_ops->pde_encode_bo(vm->pt_root[tile->id]->bo, 0, in xe_vm_pdp4_descriptor()
1784 if (vm->pt_root[id]) in xe_vm_create_ioctl()
1785 xe_drm_client_add_bo(vm->xef->client, vm->pt_root[id]->bo); in xe_vm_create_ioctl()
1789 args->reserved[0] = xe_bo_main_addr(vm->pt_root[0]->bo, XE_PAGE_SIZE); in xe_vm_create_ioctl()
2516 if (vm->pt_root[id] && !list_empty(&q->multi_gt_list)) in vm_ops_setup_tile_args()