Searched refs:scratch_pt (Results 1 – 5 of 5) sorted by relevance
908 vgpu->gtt.scratch_pt[cur_pt_type].page_mfn) in ppgtt_invalidate_spt_by_shadow_entry()932 if (!pfn || pfn == vgpu->gtt.scratch_pt[type].page_mfn) in ppgtt_invalidate_pte()1277 vgpu->gtt.scratch_pt[spt->shadow_page.type].page_mfn) in ppgtt_handle_guest_entry_removal()1548 vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table()1555 vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table()1559 vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table()1667 ops->set_pfn(&se, vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table_bytes()2300 void *scratch_pt; in alloc_scratch_pages() local2309 scratch_pt = (void *)get_zeroed_page(GFP_KERNEL); in alloc_scratch_pages()2310 if (!scratch_pt) { in alloc_scratch_pages()[all …]
215 struct intel_vgpu_scratch_pt scratch_pt[GTT_TYPE_MAX]; member
220 struct xe_pt *scratch_pt[XE_MAX_TILES_PER_DEVICE][XE_VM_MAX_LEVEL]; member
1428 vm->scratch_pt[id][i] = xe_pt_create(vm, tile, i, exec); in xe_vm_create_scratch()1429 if (IS_ERR(vm->scratch_pt[id][i])) { in xe_vm_create_scratch()1430 int err = PTR_ERR(vm->scratch_pt[id][i]); in xe_vm_create_scratch()1432 vm->scratch_pt[id][i] = NULL; in xe_vm_create_scratch()1435 xe_pt_populate_empty(tile, vm, vm->scratch_pt[id][i]); in xe_vm_create_scratch()1457 if (vm->scratch_pt[id][i]) in xe_vm_free_scratch()1458 xe_pt_destroy(vm->scratch_pt[id][i], vm->flags, NULL); in xe_vm_free_scratch()
72 return vm->pt_ops->pde_encode_bo(vm->scratch_pt[id][level - 1]->bo, in __xe_pt_empty_pte()