Lines Matching refs:intel_vgpu

57 bool intel_gvt_ggtt_validate_range(struct intel_vgpu *vgpu, u64 addr, u32 size)  in intel_gvt_ggtt_validate_range()
75 int intel_gvt_ggtt_gmadr_g2h(struct intel_vgpu *vgpu, u64 g_addr, u64 *h_addr) in intel_gvt_ggtt_gmadr_g2h()
93 int intel_gvt_ggtt_gmadr_h2g(struct intel_vgpu *vgpu, u64 h_addr, u64 *g_addr) in intel_gvt_ggtt_gmadr_h2g()
110 int intel_gvt_ggtt_index_g2h(struct intel_vgpu *vgpu, unsigned long g_index, in intel_gvt_ggtt_index_g2h()
125 int intel_gvt_ggtt_h2g_index(struct intel_vgpu *vgpu, unsigned long h_index, in intel_gvt_ggtt_h2g_index()
304 struct intel_vgpu *vgpu) in gtt_get_entry64()
329 struct intel_vgpu *vgpu) in gtt_set_entry64()
736 static int detach_oos_page(struct intel_vgpu *vgpu,
761 static void ppgtt_free_all_spt(struct intel_vgpu *vgpu) in ppgtt_free_all_spt()
802 struct intel_vgpu *vgpu, unsigned long gfn) in intel_vgpu_find_spt_by_gfn()
815 struct intel_vgpu *vgpu, unsigned long mfn) in intel_vgpu_find_spt_by_mfn()
824 struct intel_vgpu *vgpu, enum intel_gvt_gtt_type type) in ppgtt_alloc_spt()
874 struct intel_vgpu *vgpu, enum intel_gvt_gtt_type type, in ppgtt_alloc_spt_gfn()
944 static int ppgtt_invalidate_spt_by_shadow_entry(struct intel_vgpu *vgpu, in ppgtt_invalidate_spt_by_shadow_entry()
984 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_invalidate_pte()
1001 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_invalidate_spt()
1052 static bool vgpu_ips_enabled(struct intel_vgpu *vgpu) in vgpu_ips_enabled()
1071 struct intel_vgpu *vgpu, struct intel_gvt_gtt_entry *we) in ppgtt_populate_spt_by_guest_entry()
1149 static int split_2MB_gtt_entry(struct intel_vgpu *vgpu, in split_2MB_gtt_entry()
1205 static int split_64KB_gtt_entry(struct intel_vgpu *vgpu, in split_64KB_gtt_entry()
1236 static int ppgtt_populate_shadow_entry(struct intel_vgpu *vgpu, in ppgtt_populate_shadow_entry()
1289 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_populate_spt()
1324 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_entry_removal()
1369 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_entry_add()
1401 static int sync_oos_page(struct intel_vgpu *vgpu, in sync_oos_page()
1444 static int detach_oos_page(struct intel_vgpu *vgpu, in detach_oos_page()
1549 int intel_vgpu_sync_oos_pages(struct intel_vgpu *vgpu) in intel_vgpu_sync_oos_pages()
1575 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_write_page_table()
1662 int intel_vgpu_flush_post_shadow(struct intel_vgpu *vgpu) in intel_vgpu_flush_post_shadow()
1693 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_write_page_table_bytes()
1756 struct intel_vgpu *vgpu = mm->vgpu; in invalidate_ppgtt_mm()
1786 struct intel_vgpu *vgpu = mm->vgpu; in shadow_ppgtt_mm()
1830 static struct intel_vgpu_mm *vgpu_alloc_mm(struct intel_vgpu *vgpu) in vgpu_alloc_mm()
1861 struct intel_vgpu_mm *intel_vgpu_create_ppgtt_mm(struct intel_vgpu *vgpu, in intel_vgpu_create_ppgtt_mm()
1904 static struct intel_vgpu_mm *intel_vgpu_create_ggtt_mm(struct intel_vgpu *vgpu) in intel_vgpu_create_ggtt_mm()
2043 struct intel_vgpu *vgpu = mm->vgpu; in ppgtt_get_next_level_entry()
2071 struct intel_vgpu *vgpu = mm->vgpu; in intel_vgpu_gma_to_gpa()
2143 static int emulate_ggtt_mmio_read(struct intel_vgpu *vgpu, in emulate_ggtt_mmio_read()
2181 int intel_vgpu_emulate_ggtt_mmio_read(struct intel_vgpu *vgpu, unsigned int off, in intel_vgpu_emulate_ggtt_mmio_read()
2195 static void ggtt_invalidate_pte(struct intel_vgpu *vgpu, in ggtt_invalidate_pte()
2206 static int emulate_ggtt_mmio_write(struct intel_vgpu *vgpu, unsigned int off, in emulate_ggtt_mmio_write()
2324 int intel_vgpu_emulate_ggtt_mmio_write(struct intel_vgpu *vgpu, in intel_vgpu_emulate_ggtt_mmio_write()
2353 static int alloc_scratch_pages(struct intel_vgpu *vgpu, in alloc_scratch_pages()
2417 static int release_scratch_page_tree(struct intel_vgpu *vgpu) in release_scratch_page_tree()
2437 static int create_scratch_page_tree(struct intel_vgpu *vgpu) in create_scratch_page_tree()
2464 int intel_vgpu_init_gtt(struct intel_vgpu *vgpu) in intel_vgpu_init_gtt()
2487 void intel_vgpu_destroy_all_ppgtt_mm(struct intel_vgpu *vgpu) in intel_vgpu_destroy_all_ppgtt_mm()
2506 static void intel_vgpu_destroy_ggtt_mm(struct intel_vgpu *vgpu) in intel_vgpu_destroy_ggtt_mm()
2531 void intel_vgpu_clean_gtt(struct intel_vgpu *vgpu) in intel_vgpu_clean_gtt()
2602 struct intel_vgpu_mm *intel_vgpu_find_ppgtt_mm(struct intel_vgpu *vgpu, in intel_vgpu_find_ppgtt_mm()
2639 struct intel_vgpu_mm *intel_vgpu_get_ppgtt_mm(struct intel_vgpu *vgpu, in intel_vgpu_get_ppgtt_mm()
2665 int intel_vgpu_put_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]) in intel_vgpu_put_ppgtt_mm()
2760 void intel_vgpu_invalidate_ppgtt(struct intel_vgpu *vgpu) in intel_vgpu_invalidate_ppgtt()
2786 void intel_vgpu_reset_ggtt(struct intel_vgpu *vgpu, bool invalidate_old) in intel_vgpu_reset_ggtt()
2831 struct intel_vgpu *vgpu; in intel_gvt_restore_ggtt()