/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | gvt.c | 49 static struct intel_vgpu_type *intel_gvt_find_vgpu_type(struct intel_gvt *gvt, in intel_gvt_find_vgpu_type() 72 void *gvt = kdev_to_i915(dev)->gvt; in available_instances_show() local 93 void *gvt = kdev_to_i915(dev)->gvt; in description_show() local 129 static int intel_gvt_init_vgpu_type_groups(struct intel_gvt *gvt) in intel_gvt_init_vgpu_type_groups() 158 static void intel_gvt_cleanup_vgpu_type_groups(struct intel_gvt *gvt) in intel_gvt_cleanup_vgpu_type_groups() 189 static void init_device_info(struct intel_gvt *gvt) in init_device_info() 208 struct intel_gvt *gvt = (struct intel_gvt *)data; in gvt_service_thread() local 238 static void clean_service_thread(struct intel_gvt *gvt) in clean_service_thread() 243 static int init_service_thread(struct intel_gvt *gvt) in init_service_thread() 266 struct intel_gvt *gvt = fetch_and_zero(&i915->gvt); in intel_gvt_clean_device() local [all …]
|
D | aperture_gm.c | 43 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
|
D | vgpu.c | 107 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 322 struct intel_vgpu *intel_gvt_create_idle_vgpu(struct intel_gvt *gvt) in intel_gvt_create_idle_vgpu() 368 static struct intel_vgpu *__intel_gvt_create_vgpu(struct intel_gvt *gvt, in __intel_gvt_create_vgpu() 482 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
|
D | mmio.c | 53 #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
|
D | sched_policy.c | 68 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()
|
D | firmware.c | 69 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()
|
D | interrupt.c | 147 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 654 struct intel_gvt *gvt; in vblank_timer_fn() local 673 void intel_gvt_clean_irq(struct intel_gvt *gvt) in intel_gvt_clean_irq() 692 int intel_gvt_init_irq(struct intel_gvt *gvt) in intel_gvt_init_irq()
|
D | debugfs.c | 58 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()
|
D | gvt.h | 175 struct intel_gvt *gvt; member 349 static inline void intel_gvt_request_service(struct intel_gvt *gvt, in intel_gvt_request_service() 367 #define gvt_to_ggtt(gvt) ((gvt)->gt->ggtt) argument 370 #define gvt_aperture_sz(gvt) gvt_to_ggtt(gvt)->mappable_end argument 371 #define gvt_aperture_pa_base(gvt) gvt_to_ggtt(gvt)->gmadr.start argument 373 #define gvt_ggtt_gm_sz(gvt) gvt_to_ggtt(gvt)->vm.total argument 374 #define gvt_ggtt_sz(gvt) (gvt_to_ggtt(gvt)->vm.total >> PAGE_SHIFT << 3) argument 375 #define gvt_hidden_sz(gvt) (gvt_ggtt_gm_sz(gvt) - gvt_aperture_sz(gvt)) argument 377 #define gvt_aperture_gmadr_base(gvt) (0) argument 378 #define gvt_aperture_gmadr_end(gvt) (gvt_aperture_gmadr_base(gvt) \ argument [all …]
|
D | scheduler.c | 126 struct intel_gvt *gvt = vgpu->gvt; in populate_shadow_context() local 272 struct intel_gvt *gvt = container_of(nb, struct intel_gvt, in shadow_context_status_change() local 504 struct intel_gvt *gvt = workload->vgpu->gvt; in prepare_shadow_batch_buffer() local 800 pick_next_workload(struct intel_gvt *gvt, struct intel_engine_cs *engine) in pick_next_workload() 1019 static void complete_current_workload(struct intel_gvt *gvt, int ring_id) in complete_current_workload() 1107 struct intel_gvt *gvt = engine->i915->gvt; in workload_thread() local 1184 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_wait_vgpu_idle() local 1195 void intel_gvt_clean_workload_scheduler(struct intel_gvt *gvt) in intel_gvt_clean_workload_scheduler() 1211 int intel_gvt_init_workload_scheduler(struct intel_gvt *gvt) in intel_gvt_init_workload_scheduler()
|
D | handlers.c | 50 unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt) in intel_gvt_get_device_type() 68 bool intel_gvt_match_device(struct intel_gvt *gvt, in intel_gvt_match_device() 86 static struct intel_gvt_mmio_info *find_mmio_info(struct intel_gvt *gvt, in find_mmio_info() 98 static int new_mmio_info(struct intel_gvt *gvt, in new_mmio_info() 155 intel_gvt_render_mmio_to_engine(struct intel_gvt *gvt, unsigned int offset) in intel_gvt_render_mmio_to_engine() 258 struct intel_gvt *gvt = vgpu->gvt; in fence_mmio_write() local 1695 struct intel_gvt *gvt = vgpu->gvt; in mmio_read_from_hw() local 1934 static int init_generic_mmio_info(struct intel_gvt *gvt) in init_generic_mmio_info() 2752 static int init_bdw_mmio_info(struct intel_gvt *gvt) in init_bdw_mmio_info() 2941 static int init_skl_mmio_info(struct intel_gvt *gvt) in init_skl_mmio_info() [all …]
|
D | gtt.c | 654 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_get_entry() local 683 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_set_entry() local 1316 struct intel_gvt *gvt = vgpu->gvt; in ppgtt_populate_spt() local 1440 struct intel_gvt *gvt = vgpu->gvt; in sync_oos_page() local 1482 struct intel_gvt *gvt = vgpu->gvt; in detach_oos_page() local 1501 struct intel_gvt *gvt = spt->vgpu->gvt; in attach_oos_page() local 1538 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_allocate_oos_page() local 1792 struct intel_gvt *gvt = vgpu->gvt; in invalidate_ppgtt_mm() local 1822 struct intel_gvt *gvt = vgpu->gvt; in shadow_ppgtt_mm() local 1896 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_create_ppgtt_mm() local [all …]
|
D | mmio_context.c | 162 struct intel_gvt *gvt = engine->i915->gvt; in load_render_mocs() local 201 struct intel_gvt *gvt = vgpu->gvt; in restore_context_mmio_for_inhibit() local 578 void intel_gvt_init_engine_mmio_context(struct intel_gvt *gvt) in intel_gvt_init_engine_mmio_context()
|
D | display.c | 561 void intel_gvt_check_vblank_emulation(struct intel_gvt *gvt) in intel_gvt_check_vblank_emulation() 636 void intel_gvt_emulate_vblank(struct intel_gvt *gvt) in intel_gvt_emulate_vblank()
|
D | cmd_parser.c | 651 find_cmd_entry(struct intel_gvt *gvt, unsigned int opcode, in find_cmd_entry() 665 get_cmd_info(struct intel_gvt *gvt, u32 cmd, in get_cmd_info() 844 struct intel_gvt *gvt = s->vgpu->gvt; in force_nonpriv_reg_handler() local 930 struct intel_gvt *gvt = vgpu->gvt; in cmd_reg_handler() local 1059 struct intel_gvt *gvt = s->vgpu->gvt; in cmd_handler_lrm() local 2679 static void add_cmd_entry(struct intel_gvt *gvt, struct cmd_entry *e) in add_cmd_entry() 3059 static int init_cmd_table(struct intel_gvt *gvt) in init_cmd_table() 3088 static void clean_cmd_table(struct intel_gvt *gvt) in clean_cmd_table() 3100 void intel_gvt_clean_cmd_parser(struct intel_gvt *gvt) in intel_gvt_clean_cmd_parser() 3105 int intel_gvt_init_cmd_parser(struct intel_gvt *gvt) in intel_gvt_init_cmd_parser()
|
D | mpt.h | 53 void *gvt, const void *ops) in intel_gvt_hypervisor_host_init()
|
D | cfg_space.c | 376 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_init_cfg_space() local
|
D | kvmgt.c | 697 void *gvt; in intel_vgpu_create() local 1055 struct intel_gvt *gvt = vgpu->gvt; in gtt_entry() local 1669 static int kvmgt_host_init(struct device *dev, void *gvt, const void *ops) in kvmgt_host_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_drv.h | 857 struct intel_gvt *gvt; member
|