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.c1406 for (i = MAX_HUGEPTE_LEVEL; i < vm->pt_root[id]->level; i++) { in xe_vm_create_scratch()
1432 if (!vm->pt_root[id]) in xe_vm_free_scratch()
1435 for (i = MAX_HUGEPTE_LEVEL; i < vm->pt_root[id]->level; ++i) in xe_vm_free_scratch()
1449 if (vm->pt_root[id]) { in xe_vm_pt_destroy()
1450 xe_pt_destroy(vm->pt_root[id], vm->flags, NULL); in xe_vm_pt_destroy()
1451 vm->pt_root[id] = NULL; in xe_vm_pt_destroy()
1562 vm->pt_root[id] = xe_pt_create(vm, tile, xe->info.vm_max_level, in xe_vm_create()
1564 if (IS_ERR(vm->pt_root[id])) { in xe_vm_create()
1565 err = PTR_ERR(vm->pt_root[id]); in xe_vm_create()
1566 vm->pt_root[id] = NULL; in xe_vm_create()
[all …]
H A Dxe_vm_types.h206 struct xe_pt *pt_root[XE_MAX_TILES_PER_DEVICE]; member
H A Dxe_pt.c722 struct xe_pt *pt = vm->pt_root[tile->id]; in xe_pt_stage_bind()
913 struct xe_pt *pt = xe_vma_vm(vma)->pt_root[tile->id]; in xe_pt_zap_ptes()
956 struct xe_pt *pt = vm->pt_root[tile->id]; in xe_pt_zap_ptes_range()
1669 struct xe_pt *pt = vm->pt_root[tile->id]; in xe_pt_stage_unbind()
H A Dxe_migrate.c190 u32 num_entries = NUM_PT_SLOTS, num_level = vm->pt_root[id]->level; in xe_migrate_prepare_vm()
219 xe_pt_write(xe, &vm->pt_root[id]->bo->vmap, 0, entry); in xe_migrate_prepare_vm()