Home
last modified time | relevance | path

Searched defs:gvt (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/i915/gvt/
Dgvt.c66 static void init_device_info(struct intel_gvt *gvt) in init_device_info()
83 static void intel_gvt_test_and_emulate_vblank(struct intel_gvt *gvt) in intel_gvt_test_and_emulate_vblank()
101 struct intel_gvt *gvt = (struct intel_gvt *)data; in gvt_service_thread() local
129 static void clean_service_thread(struct intel_gvt *gvt) in clean_service_thread()
134 static int init_service_thread(struct intel_gvt *gvt) in init_service_thread()
157 struct intel_gvt *gvt = fetch_and_zero(&i915->gvt); in intel_gvt_clean_device() local
191 struct intel_gvt *gvt; in intel_gvt_init_device() local
290 intel_gvt_pm_resume(struct intel_gvt *gvt) in intel_gvt_pm_resume()
302 void *gvt; in intel_gvt_register_hypervisor() local
336 void *gvt = (void *)kdev_to_i915(intel_gvt_host.dev)->gvt; in intel_gvt_unregister_hypervisor() local
Daperture_gm.c43 struct intel_gvt *gvt = vgpu->gvt; in alloc_gm() local
81 struct intel_gvt *gvt = vgpu->gvt; in alloc_vgpu_gm() local
109 struct intel_gvt *gvt = vgpu->gvt; in free_vgpu_gm() local
131 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_write_fence() local
167 struct intel_gvt *gvt = vgpu->gvt; in free_vgpu_fence() local
192 struct intel_gvt *gvt = vgpu->gvt; in alloc_vgpu_fence() local
234 struct intel_gvt *gvt = vgpu->gvt; in free_resource() local
244 struct intel_gvt *gvt = vgpu->gvt; in alloc_resource() local
322 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reset_resource() local
Dvgpu.c107 int intel_gvt_init_vgpu_types(struct intel_gvt *gvt) in intel_gvt_init_vgpu_types()
172 void intel_gvt_clean_vgpu_types(struct intel_gvt *gvt) in intel_gvt_clean_vgpu_types()
177 static void intel_gvt_update_vgpu_types(struct intel_gvt *gvt) in intel_gvt_update_vgpu_types()
275 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_destroy_vgpu() local
320 struct intel_vgpu *intel_gvt_create_idle_vgpu(struct intel_gvt *gvt) in intel_gvt_create_idle_vgpu()
366 static struct intel_vgpu *__intel_gvt_create_vgpu(struct intel_gvt *gvt, in __intel_gvt_create_vgpu()
480 struct intel_vgpu *intel_gvt_create_vgpu(struct intel_gvt *gvt, in intel_gvt_create_vgpu()
541 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_reset_vgpu_locked() local
Dsched_policy.c68 struct intel_gvt *gvt; member
132 static void try_to_schedule_next_vgpu(struct intel_gvt *gvt) in try_to_schedule_next_vgpu()
213 struct intel_gvt *gvt = sched_data->gvt; in tbs_sched_func() local
240 void intel_gvt_schedule(struct intel_gvt *gvt) in intel_gvt_schedule()
277 static int tbs_sched_init(struct intel_gvt *gvt) in tbs_sched_init()
299 static void tbs_sched_clean(struct intel_gvt *gvt) in tbs_sched_clean()
330 struct intel_gvt *gvt = vgpu->gvt; in tbs_sched_clean_vgpu() local
380 int intel_gvt_init_sched_policy(struct intel_gvt *gvt) in intel_gvt_init_sched_policy()
392 void intel_gvt_clean_sched_policy(struct intel_gvt *gvt) in intel_gvt_clean_sched_policy()
436 void intel_gvt_kick_schedule(struct intel_gvt *gvt) in intel_gvt_kick_schedule()
Dmmio.c53 #define reg_is_mmio(gvt, reg) \ argument
56 #define reg_is_gtt(gvt, reg) \ argument
63 struct intel_gvt *gvt = NULL; in failsafe_emulate_mmio_rw() local
105 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_emulate_mmio_read() local
180 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_emulate_mmio_write() local
242 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reset_mmio() local
Dgvt.h180 struct intel_gvt *gvt; member
363 static inline void intel_gvt_request_service(struct intel_gvt *gvt, in intel_gvt_request_service()
381 #define gvt_to_ggtt(gvt) ((gvt)->gt->ggtt) argument
384 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end argument
385 #define gvt_aperture_pa_base(gvt) gvt_to_ggtt(gvt)->gmadr.start argument
387 #define gvt_ggtt_gm_sz(gvt) gvt_to_ggtt(gvt)->vm.total argument
388 #define gvt_ggtt_sz(gvt) (gvt_to_ggtt(gvt)->vm.total >> PAGE_SHIFT << 3) argument
389 #define gvt_hidden_sz(gvt) (gvt_ggtt_gm_sz(gvt) - gvt_aperture_sz(gvt)) argument
391 #define gvt_aperture_gmadr_base(gvt) (0) argument
392 #define gvt_aperture_gmadr_end(gvt) (gvt_aperture_gmadr_base(gvt) \ argument
[all …]
Dfirmware.c69 static int mmio_snapshot_handler(struct intel_gvt *gvt, u32 offset, void *data) in mmio_snapshot_handler()
76 static int expose_firmware_sysfs(struct intel_gvt *gvt) in expose_firmware_sysfs()
128 static void clean_firmware_sysfs(struct intel_gvt *gvt) in clean_firmware_sysfs()
141 void intel_gvt_free_firmware(struct intel_gvt *gvt) in intel_gvt_free_firmware()
150 static int verify_firmware(struct intel_gvt *gvt, in verify_firmware()
205 int intel_gvt_load_firmware(struct intel_gvt *gvt) in intel_gvt_load_firmware()
Ddebugfs.c58 static inline int mmio_diff_handler(struct intel_gvt *gvt, in mmio_diff_handler()
87 struct intel_gvt *gvt = vgpu->gvt; in vgpu_mmio_diff_show() local
178 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_debugfs_remove_vgpu() local
191 void intel_gvt_debugfs_init(struct intel_gvt *gvt) in intel_gvt_debugfs_init()
205 void intel_gvt_debugfs_clean(struct intel_gvt *gvt) in intel_gvt_debugfs_clean()
Dinterrupt.c147 struct intel_gvt *gvt, in regbase_to_irq_info()
178 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reg_imr_handler() local
208 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reg_master_irq_handler() local
247 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reg_ier_handler() local
498 struct intel_gvt *gvt = irq_to_gvt(irq); in gen8_init_irq() local
626 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_trigger_virtual_event() local
660 int intel_gvt_init_irq(struct intel_gvt *gvt) in intel_gvt_init_irq()
Dhandlers.c51 unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt) in intel_gvt_get_device_type()
69 bool intel_gvt_match_device(struct intel_gvt *gvt, in intel_gvt_match_device()
87 struct intel_gvt_mmio_info *intel_gvt_find_mmio_info(struct intel_gvt *gvt, in intel_gvt_find_mmio_info()
99 static int new_mmio_info(struct intel_gvt *gvt, in new_mmio_info()
156 intel_gvt_render_mmio_to_engine(struct intel_gvt *gvt, unsigned int offset) in intel_gvt_render_mmio_to_engine()
259 struct intel_gvt *gvt = vgpu->gvt; in fence_mmio_write() local
1944 struct intel_gvt *gvt = vgpu->gvt; in mmio_read_from_hw() local
2183 static int init_generic_mmio_info(struct intel_gvt *gvt) in init_generic_mmio_info()
3002 static int init_bdw_mmio_info(struct intel_gvt *gvt) in init_bdw_mmio_info()
3192 static int init_skl_mmio_info(struct intel_gvt *gvt) in init_skl_mmio_info()
[all …]
Dgtt.c657 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_get_entry() local
686 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_set_entry() local
1319 struct intel_gvt *gvt = vgpu->gvt; in ppgtt_populate_spt() local
1443 struct intel_gvt *gvt = vgpu->gvt; in sync_oos_page() local
1485 struct intel_gvt *gvt = vgpu->gvt; in detach_oos_page() local
1504 struct intel_gvt *gvt = spt->vgpu->gvt; in attach_oos_page() local
1541 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_allocate_oos_page() local
1795 struct intel_gvt *gvt = vgpu->gvt; in invalidate_ppgtt_mm() local
1825 struct intel_gvt *gvt = vgpu->gvt; in shadow_ppgtt_mm() local
1899 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_create_ppgtt_mm() local
[all …]
Dscheduler.c128 struct intel_gvt *gvt = vgpu->gvt; in populate_shadow_context() local
288 struct intel_gvt *gvt = container_of(nb, struct intel_gvt, in shadow_context_status_change() local
522 struct intel_gvt *gvt = workload->vgpu->gvt; in prepare_shadow_batch_buffer() local
847 pick_next_workload(struct intel_gvt *gvt, struct intel_engine_cs *engine) in pick_next_workload()
1065 static void complete_current_workload(struct intel_gvt *gvt, int ring_id) in complete_current_workload()
1153 struct intel_gvt *gvt = engine->i915->gvt; in workload_thread() local
1230 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_wait_vgpu_idle() local
1241 void intel_gvt_clean_workload_scheduler(struct intel_gvt *gvt) in intel_gvt_clean_workload_scheduler()
1257 int intel_gvt_init_workload_scheduler(struct intel_gvt *gvt) in intel_gvt_init_workload_scheduler()
Dmmio_context.c165 struct intel_gvt *gvt = engine->i915->gvt; in load_render_mocs() local
204 struct intel_gvt *gvt = vgpu->gvt; in restore_context_mmio_for_inhibit() local
581 void intel_gvt_init_engine_mmio_context(struct intel_gvt *gvt) in intel_gvt_init_engine_mmio_context()
Dmpt.h55 void *gvt, const void *ops) in intel_gvt_hypervisor_host_init()
66 static inline void intel_gvt_hypervisor_host_exit(struct device *dev, void *gvt) in intel_gvt_hypervisor_host_exit()
Dkvmgt.c153 struct intel_gvt *gvt = kdev_to_i915(mtype_get_parent_dev(mtype))->gvt; in available_instances_show() local
174 struct intel_gvt *gvt = kdev_to_i915(mtype_get_parent_dev(mtype))->gvt; in description_show() local
204 static int intel_gvt_init_vgpu_type_groups(struct intel_gvt *gvt) in intel_gvt_init_vgpu_type_groups()
233 static void intel_gvt_cleanup_vgpu_type_groups(struct intel_gvt *gvt) in intel_gvt_cleanup_vgpu_type_groups()
795 struct intel_gvt *gvt; in intel_vgpu_create() local
1151 struct intel_gvt *gvt = vgpu->gvt; in gtt_entry() local
1765 static int kvmgt_host_init(struct device *dev, void *gvt, const void *ops) in kvmgt_host_init()
1783 static void kvmgt_host_exit(struct device *dev, void *gvt) in kvmgt_host_exit()
Dcmd_parser.c661 find_cmd_entry(struct intel_gvt *gvt, unsigned int opcode, in find_cmd_entry()
675 get_cmd_info(struct intel_gvt *gvt, u32 cmd, in get_cmd_info()
891 struct intel_gvt *gvt = vgpu->gvt; in cmd_reg_handler() local
1090 struct intel_gvt *gvt = s->vgpu->gvt; in cmd_handler_lrm() local
2712 static void add_cmd_entry(struct intel_gvt *gvt, struct cmd_entry *e) in add_cmd_entry()
3101 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_update_reg_whitelist() local
3205 static int init_cmd_table(struct intel_gvt *gvt) in init_cmd_table()
3234 static void clean_cmd_table(struct intel_gvt *gvt) in clean_cmd_table()
3246 void intel_gvt_clean_cmd_parser(struct intel_gvt *gvt) in intel_gvt_clean_cmd_parser()
3251 int intel_gvt_init_cmd_parser(struct intel_gvt *gvt) in intel_gvt_init_cmd_parser()
Dcfg_space.c376 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_init_cfg_space() local
/drivers/gpu/drm/i915/
Di915_drv.h871 struct intel_gvt *gvt; member