Home
last modified time | relevance | path

Searched refs:pt_root (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_vm.c1516 for (i = MAX_HUGEPTE_LEVEL; i < vm->pt_root[id]->level; i++) { in xe_vm_create_scratch()
1542 if (!vm->pt_root[id]) in xe_vm_free_scratch()
1545 for (i = MAX_HUGEPTE_LEVEL; i < vm->pt_root[id]->level; ++i) in xe_vm_free_scratch()
1559 if (vm->pt_root[id]) { in xe_vm_pt_destroy()
1560 xe_pt_destroy(vm->pt_root[id], vm->flags, NULL); in xe_vm_pt_destroy()
1561 vm->pt_root[id] = NULL; in xe_vm_pt_destroy()
1694 vm->pt_root[id] = xe_pt_create(vm, tile, xe->info.vm_max_level, in xe_vm_create()
1696 if (IS_ERR(vm->pt_root[id])) { in xe_vm_create()
1697 err = PTR_ERR(vm->pt_root[id]); in xe_vm_create()
1698 vm->pt_root[id] = NULL; in xe_vm_create()
[all …]
H A Dxe_vm_types.h250 struct xe_pt *pt_root[XE_MAX_TILES_PER_DEVICE]; member
H A Dxe_pt.c728 struct xe_pt *pt = vm->pt_root[tile->id]; in xe_pt_stage_bind()
939 struct xe_pt *pt = xe_vma_vm(vma)->pt_root[tile->id]; in xe_pt_zap_ptes()
982 struct xe_pt *pt = vm->pt_root[tile->id]; in xe_pt_zap_ptes_range()
1851 struct xe_pt *pt = vm->pt_root[tile->id]; in xe_pt_stage_unbind()
H A Dxe_migrate.c222 u32 num_entries = NUM_PT_SLOTS, num_level = vm->pt_root[id]->level; in xe_migrate_prepare_vm()
233 xe_pt_write(xe, &vm->pt_root[id]->bo->vmap, 0, entry); in xe_migrate_prepare_vm()