Home
last modified time | relevance | path

Searched refs:scratch_pt (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dgtt.c969 vgpu->gtt.scratch_pt[cur_pt_type].page_mfn) in ppgtt_invalidate_spt_by_shadow_entry()
993 if (!pfn || pfn == vgpu->gtt.scratch_pt[type].page_mfn) in ppgtt_invalidate_pte()
1338 vgpu->gtt.scratch_pt[spt->shadow_page.type].page_mfn) in ppgtt_handle_guest_entry_removal()
1609 vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table()
1616 vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table()
1620 vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table()
1728 ops->set_pfn(&se, vgpu->gtt.scratch_pt[type].page_mfn); in ppgtt_handle_guest_write_page_table_bytes()
2361 void *scratch_pt; in alloc_scratch_pages() local
2370 scratch_pt = (void *)get_zeroed_page(GFP_KERNEL); in alloc_scratch_pages()
2371 if (!scratch_pt) { in alloc_scratch_pages()
[all …]
Dgtt.h215 struct intel_vgpu_scratch_pt scratch_pt[GTT_TYPE_MAX]; member
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_vm_types.h153 struct xe_pt *scratch_pt[XE_MAX_TILES_PER_DEVICE][XE_VM_MAX_LEVEL]; member
Dxe_vm.c1346 vm->scratch_pt[id][i] = xe_pt_create(vm, tile, i); in xe_vm_create_scratch()
1347 if (IS_ERR(vm->scratch_pt[id][i])) in xe_vm_create_scratch()
1348 return PTR_ERR(vm->scratch_pt[id][i]); in xe_vm_create_scratch()
1350 xe_pt_populate_empty(tile, vm, vm->scratch_pt[id][i]); in xe_vm_create_scratch()
1371 if (vm->scratch_pt[id][i]) in xe_vm_free_scratch()
1372 xe_pt_destroy(vm->scratch_pt[id][i], vm->flags, NULL); in xe_vm_free_scratch()
Dxe_pt.c67 return vm->pt_ops->pde_encode_bo(vm->scratch_pt[id][level - 1]->bo, in __xe_pt_empty_pte()