• Home
  • Raw
  • Download

Lines Matching defs:vgpu

54 bool intel_gvt_ggtt_validate_range(struct intel_vgpu *vgpu, u64 addr, u32 size)  in intel_gvt_ggtt_validate_range()
72 int intel_gvt_ggtt_gmadr_g2h(struct intel_vgpu *vgpu, u64 g_addr, u64 *h_addr) in intel_gvt_ggtt_gmadr_g2h()
90 int intel_gvt_ggtt_gmadr_h2g(struct intel_vgpu *vgpu, u64 h_addr, u64 *g_addr) in intel_gvt_ggtt_gmadr_h2g()
107 int intel_gvt_ggtt_index_g2h(struct intel_vgpu *vgpu, unsigned long g_index, in intel_gvt_ggtt_index_g2h()
122 int intel_gvt_ggtt_h2g_index(struct intel_vgpu *vgpu, unsigned long h_index, in intel_gvt_ggtt_h2g_index()
306 struct intel_vgpu *vgpu) in gtt_get_entry64()
331 struct intel_vgpu *vgpu) in gtt_set_entry64()
769 static void ppgtt_free_all_spt(struct intel_vgpu *vgpu) in ppgtt_free_all_spt()
810 struct intel_vgpu *vgpu, unsigned long gfn) in intel_vgpu_find_spt_by_gfn()
823 struct intel_vgpu *vgpu, unsigned long mfn) in intel_vgpu_find_spt_by_mfn()
832 struct intel_vgpu *vgpu, enum intel_gvt_gtt_type type) in ppgtt_alloc_spt()
882 struct intel_vgpu *vgpu, enum intel_gvt_gtt_type type, in ppgtt_alloc_spt_gfn()
952 static int ppgtt_invalidate_spt_by_shadow_entry(struct intel_vgpu *vgpu, in ppgtt_invalidate_spt_by_shadow_entry()
992 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_invalidate_pte() local
1009 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_invalidate_spt() local
1060 static bool vgpu_ips_enabled(struct intel_vgpu *vgpu) in vgpu_ips_enabled()
1079 struct intel_vgpu *vgpu, struct intel_gvt_gtt_entry *we) in ppgtt_populate_spt_by_guest_entry()
1165 static int is_2MB_gtt_possible(struct intel_vgpu *vgpu, in is_2MB_gtt_possible()
1181 static int split_2MB_gtt_entry(struct intel_vgpu *vgpu, in split_2MB_gtt_entry()
1237 static int split_64KB_gtt_entry(struct intel_vgpu *vgpu, in split_64KB_gtt_entry()
1268 static int ppgtt_populate_shadow_entry(struct intel_vgpu *vgpu, in ppgtt_populate_shadow_entry()
1324 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_populate_spt() local
1368 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_entry_removal() local
1413 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_entry_add() local
1445 static int sync_oos_page(struct intel_vgpu *vgpu, in sync_oos_page()
1488 static int detach_oos_page(struct intel_vgpu *vgpu, in detach_oos_page()
1593 int intel_vgpu_sync_oos_pages(struct intel_vgpu *vgpu) in intel_vgpu_sync_oos_pages()
1619 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_write_page_table() local
1706 int intel_vgpu_flush_post_shadow(struct intel_vgpu *vgpu) in intel_vgpu_flush_post_shadow()
1737 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_write_page_table_bytes() local
1800 struct intel_vgpu *vgpu = mm->vgpu; in invalidate_ppgtt_mm() local
1830 struct intel_vgpu *vgpu = mm->vgpu; in shadow_ppgtt_mm() local
1871 static struct intel_vgpu_mm *vgpu_alloc_mm(struct intel_vgpu *vgpu) in vgpu_alloc_mm()
1902 struct intel_vgpu_mm *intel_vgpu_create_ppgtt_mm(struct intel_vgpu *vgpu, in intel_vgpu_create_ppgtt_mm()
1945 static struct intel_vgpu_mm *intel_vgpu_create_ggtt_mm(struct intel_vgpu *vgpu) in intel_vgpu_create_ggtt_mm()
2084 struct intel_vgpu *vgpu = mm->vgpu; in ppgtt_get_next_level_entry() local
2112 struct intel_vgpu *vgpu = mm->vgpu; in intel_vgpu_gma_to_gpa() local
2184 static int emulate_ggtt_mmio_read(struct intel_vgpu *vgpu, in emulate_ggtt_mmio_read()
2222 int intel_vgpu_emulate_ggtt_mmio_read(struct intel_vgpu *vgpu, unsigned int off, in intel_vgpu_emulate_ggtt_mmio_read()
2236 static void ggtt_invalidate_pte(struct intel_vgpu *vgpu, in ggtt_invalidate_pte()
2248 static int emulate_ggtt_mmio_write(struct intel_vgpu *vgpu, unsigned int off, in emulate_ggtt_mmio_write()
2375 int intel_vgpu_emulate_ggtt_mmio_write(struct intel_vgpu *vgpu, in intel_vgpu_emulate_ggtt_mmio_write()
2404 static int alloc_scratch_pages(struct intel_vgpu *vgpu, in alloc_scratch_pages()
2469 static int release_scratch_page_tree(struct intel_vgpu *vgpu) in release_scratch_page_tree()
2489 static int create_scratch_page_tree(struct intel_vgpu *vgpu) in create_scratch_page_tree()
2516 int intel_vgpu_init_gtt(struct intel_vgpu *vgpu) in intel_vgpu_init_gtt()
2539 void intel_vgpu_destroy_all_ppgtt_mm(struct intel_vgpu *vgpu) in intel_vgpu_destroy_all_ppgtt_mm()
2558 static void intel_vgpu_destroy_ggtt_mm(struct intel_vgpu *vgpu) in intel_vgpu_destroy_ggtt_mm()
2583 void intel_vgpu_clean_gtt(struct intel_vgpu *vgpu) in intel_vgpu_clean_gtt()
2654 struct intel_vgpu_mm *intel_vgpu_find_ppgtt_mm(struct intel_vgpu *vgpu, in intel_vgpu_find_ppgtt_mm()
2691 struct intel_vgpu_mm *intel_vgpu_get_ppgtt_mm(struct intel_vgpu *vgpu, in intel_vgpu_get_ppgtt_mm()
2717 int intel_vgpu_put_ppgtt_mm(struct intel_vgpu *vgpu, u64 pdps[]) in intel_vgpu_put_ppgtt_mm()
2812 void intel_vgpu_invalidate_ppgtt(struct intel_vgpu *vgpu) in intel_vgpu_invalidate_ppgtt()
2838 void intel_vgpu_reset_ggtt(struct intel_vgpu *vgpu, bool invalidate_old) in intel_vgpu_reset_ggtt()
2883 struct intel_vgpu *vgpu; in intel_gvt_restore_ggtt() local