Home
last modified time | relevance | path

Searched refs:ggtt_mm (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dgtt.c602 pte_ops->get_entry(mm->ggtt_mm.virtual_ggtt, entry, index, in ggtt_get_guest_entry()
613 pte_ops->set_entry(mm->ggtt_mm.virtual_ggtt, entry, index, in ggtt_set_guest_entry()
637 mm->ggtt_mm.host_ggtt_aperture[offset] = entry->val64; in ggtt_set_host_entry()
640 mm->ggtt_mm.host_ggtt_hidden[offset] = entry->val64; in ggtt_set_host_entry()
1916 mm->ggtt_mm.virtual_ggtt = in intel_vgpu_create_ggtt_mm()
1919 if (!mm->ggtt_mm.virtual_ggtt) { in intel_vgpu_create_ggtt_mm()
1924 mm->ggtt_mm.host_ggtt_aperture = vzalloc((vgpu_aperture_sz(vgpu) >> PAGE_SHIFT) * sizeof(u64)); in intel_vgpu_create_ggtt_mm()
1925 if (!mm->ggtt_mm.host_ggtt_aperture) { in intel_vgpu_create_ggtt_mm()
1926 vfree(mm->ggtt_mm.virtual_ggtt); in intel_vgpu_create_ggtt_mm()
1931 mm->ggtt_mm.host_ggtt_hidden = vzalloc((vgpu_hidden_sz(vgpu) >> PAGE_SHIFT) * sizeof(u64)); in intel_vgpu_create_ggtt_mm()
[all …]
Dgtt.h178 } ggtt_mm; member
210 struct intel_vgpu_mm *ggtt_mm; member
Dfb_decoder.c258 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_primary_plane()
381 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_cursor_plane()
485 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_sprite_plane()
Dmmio.c88 pt = vgpu->gtt.ggtt_mm->ggtt_mm.virtual_ggtt + offset; in failsafe_emulate_mmio_rw()
Dscheduler.c226 context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, in populate_shadow_context()
988 context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, in update_guest_context()
1640 ring_context_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, in intel_vgpu_create_workload()
Dcmd_parser.c1821 s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; in find_bb_size()
1904 s->vgpu->gtt.ggtt_mm : s->workload->shadow_mm; in perform_bb_shadow()
2957 ret = copy_gma_to_hva(vgpu, vgpu->gtt.ggtt_mm, in shadow_workload_ring_buffer()
2968 ret = copy_gma_to_hva(vgpu, vgpu->gtt.ggtt_mm, gma_head, gma_tail, in shadow_workload_ring_buffer()
3031 workload->vgpu->gtt.ggtt_mm, in shadow_indirect_ctx()
Dexeclist.c159 hwsp_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, in emulate_csb_update()