/drivers/gpu/drm/i915/gvt/ |
D | mmio.h | 39 struct intel_gvt; 70 int intel_gvt_render_mmio_to_ring_id(struct intel_gvt *gvt, 72 unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt); 73 bool intel_gvt_match_device(struct intel_gvt *gvt, unsigned long device); 75 int intel_gvt_setup_mmio_info(struct intel_gvt *gvt); 76 void intel_gvt_clean_mmio_info(struct intel_gvt *gvt); 77 int intel_gvt_for_each_tracked_mmio(struct intel_gvt *gvt, 78 int (*handler)(struct intel_gvt *gvt, u32 offset, void *data), 97 bool intel_gvt_in_force_nonpriv_whitelist(struct intel_gvt *gvt,
|
D | sched_policy.h | 38 int (*init)(struct intel_gvt *gvt); 39 void (*clean)(struct intel_gvt *gvt); 46 void intel_gvt_schedule(struct intel_gvt *gvt); 48 int intel_gvt_init_sched_policy(struct intel_gvt *gvt); 50 void intel_gvt_clean_sched_policy(struct intel_gvt *gvt); 60 void intel_gvt_kick_schedule(struct intel_gvt *gvt);
|
D | gvt.h | 169 struct intel_gvt *gvt; 301 struct intel_gvt { struct 346 static inline struct intel_gvt *to_gvt(struct drm_i915_private *i915) in to_gvt() argument 361 static inline void intel_gvt_request_service(struct intel_gvt *gvt, in intel_gvt_request_service() 368 void intel_gvt_free_firmware(struct intel_gvt *gvt); 369 int intel_gvt_load_firmware(struct intel_gvt *gvt); 478 int intel_gvt_init_vgpu_types(struct intel_gvt *gvt); 479 void intel_gvt_clean_vgpu_types(struct intel_gvt *gvt); 481 struct intel_vgpu *intel_gvt_create_idle_vgpu(struct intel_gvt *gvt); 483 struct intel_vgpu *intel_gvt_create_vgpu(struct intel_gvt *gvt, [all …]
|
D | gvt.c | 49 static struct intel_vgpu_type *intel_gvt_find_vgpu_type(struct intel_gvt *gvt, in intel_gvt_find_vgpu_type() 131 static bool intel_gvt_init_vgpu_type_groups(struct intel_gvt *gvt) in intel_gvt_init_vgpu_type_groups() 160 static void intel_gvt_cleanup_vgpu_type_groups(struct intel_gvt *gvt) in intel_gvt_cleanup_vgpu_type_groups() 191 static void init_device_info(struct intel_gvt *gvt) in init_device_info() 210 struct intel_gvt *gvt = (struct intel_gvt *)data; in gvt_service_thread() 240 static void clean_service_thread(struct intel_gvt *gvt) in clean_service_thread() 245 static int init_service_thread(struct intel_gvt *gvt) in init_service_thread() 268 struct intel_gvt *gvt = to_gvt(dev_priv); in intel_gvt_clean_device() 305 struct intel_gvt *gvt; in intel_gvt_init_device() 312 gvt = kzalloc(sizeof(struct intel_gvt), GFP_KERNEL); in intel_gvt_init_device()
|
D | sched_policy.c | 68 struct intel_gvt *gvt; 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() 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() 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 | aperture_gm.c | 43 struct intel_gvt *gvt = vgpu->gvt; in alloc_gm() 81 struct intel_gvt *gvt = vgpu->gvt; in alloc_vgpu_gm() 130 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_write_fence() 165 struct intel_gvt *gvt = vgpu->gvt; in free_vgpu_fence() 189 struct intel_gvt *gvt = vgpu->gvt; in alloc_vgpu_fence() 230 struct intel_gvt *gvt = vgpu->gvt; in free_resource() 240 struct intel_gvt *gvt = vgpu->gvt; in alloc_resource()
|
D | interrupt.c | 49 container_of(irq, struct intel_gvt, irq) 147 struct intel_gvt *gvt, in regbase_to_irq_info() 178 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reg_imr_handler() 208 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reg_master_irq_handler() 247 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reg_ier_handler() 494 struct intel_gvt *gvt = irq_to_gvt(irq); in gen8_init_irq() 621 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_trigger_virtual_event() 649 struct intel_gvt *gvt; in vblank_timer_fn() 653 gvt = container_of(irq, struct intel_gvt, irq); in vblank_timer_fn() 668 void intel_gvt_clean_irq(struct intel_gvt *gvt) in intel_gvt_clean_irq() [all …]
|
D | firmware.c | 69 static int mmio_snapshot_handler(struct intel_gvt *gvt, u32 offset, void *data) in mmio_snapshot_handler() 78 static int expose_firmware_sysfs(struct intel_gvt *gvt) in expose_firmware_sysfs() 130 static void clean_firmware_sysfs(struct intel_gvt *gvt) in clean_firmware_sysfs() 143 void intel_gvt_free_firmware(struct intel_gvt *gvt) in intel_gvt_free_firmware() 152 static int verify_firmware(struct intel_gvt *gvt, in verify_firmware() 208 int intel_gvt_load_firmware(struct intel_gvt *gvt) in intel_gvt_load_firmware()
|
D | vgpu.c | 106 int intel_gvt_init_vgpu_types(struct intel_gvt *gvt) in intel_gvt_init_vgpu_types() 171 void intel_gvt_clean_vgpu_types(struct intel_gvt *gvt) in intel_gvt_clean_vgpu_types() 176 static void intel_gvt_update_vgpu_types(struct intel_gvt *gvt) in intel_gvt_update_vgpu_types() 273 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_destroy_vgpu() 313 struct intel_vgpu *intel_gvt_create_idle_vgpu(struct intel_gvt *gvt) in intel_gvt_create_idle_vgpu() 359 static struct intel_vgpu *__intel_gvt_create_vgpu(struct intel_gvt *gvt, in __intel_gvt_create_vgpu() 470 struct intel_vgpu *intel_gvt_create_vgpu(struct intel_gvt *gvt, in intel_gvt_create_vgpu() 529 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_reset_vgpu_locked()
|
D | debugfs.c | 58 static inline int mmio_diff_handler(struct intel_gvt *gvt, in mmio_diff_handler() 88 struct intel_gvt *gvt = vgpu->gvt; in vgpu_mmio_diff_show() 221 void intel_gvt_debugfs_init(struct intel_gvt *gvt) in intel_gvt_debugfs_init() 235 void intel_gvt_debugfs_clean(struct intel_gvt *gvt) in intel_gvt_debugfs_clean()
|
D | cmd_parser.h | 41 void intel_gvt_clean_cmd_parser(struct intel_gvt *gvt); 43 int intel_gvt_init_cmd_parser(struct intel_gvt *gvt);
|
D | interrupt.h | 137 struct intel_gvt; 214 int intel_gvt_init_irq(struct intel_gvt *gvt); 215 void intel_gvt_clean_irq(struct intel_gvt *gvt);
|
D | mmio.c | 63 struct intel_gvt *gvt = NULL; in failsafe_emulate_mmio_rw() 105 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_emulate_mmio_read() 177 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_emulate_mmio_write() 236 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_reset_mmio()
|
D | scheduler.h | 137 int intel_gvt_init_workload_scheduler(struct intel_gvt *gvt); 139 void intel_gvt_clean_workload_scheduler(struct intel_gvt *gvt);
|
D | display.h | 200 void intel_gvt_emulate_vblank(struct intel_gvt *gvt); 201 void intel_gvt_check_vblank_emulation(struct intel_gvt *gvt);
|
D | scheduler.c | 129 struct intel_gvt *gvt = vgpu->gvt; in populate_shadow_context() 230 struct intel_gvt *gvt = container_of(nb, struct intel_gvt, in shadow_context_status_change() 451 struct intel_gvt *gvt = workload->vgpu->gvt; in prepare_shadow_batch_buffer() 738 struct intel_gvt *gvt, int ring_id) in pick_next_workload() 798 struct intel_gvt *gvt = vgpu->gvt; in update_guest_context() 900 static void complete_current_workload(struct intel_gvt *gvt, int ring_id) in complete_current_workload() 982 struct intel_gvt *gvt; 989 struct intel_gvt *gvt = p->gvt; in workload_thread() 1069 struct intel_gvt *gvt = vgpu->gvt; in intel_gvt_wait_vgpu_idle() 1080 void intel_gvt_clean_workload_scheduler(struct intel_gvt *gvt) in intel_gvt_clean_workload_scheduler() [all …]
|
D | gtt.c | 651 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_get_entry() 680 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_spt_set_entry() 816 static int reclaim_one_ppgtt_mm(struct intel_gvt *gvt); 1301 struct intel_gvt *gvt = vgpu->gvt; in ppgtt_populate_spt() 1425 struct intel_gvt *gvt = vgpu->gvt; in sync_oos_page() 1467 struct intel_gvt *gvt = vgpu->gvt; in detach_oos_page() 1486 struct intel_gvt *gvt = spt->vgpu->gvt; in attach_oos_page() 1523 struct intel_gvt *gvt = spt->vgpu->gvt; in ppgtt_allocate_oos_page() 1777 struct intel_gvt *gvt = vgpu->gvt; in invalidate_ppgtt_mm() 1807 struct intel_gvt *gvt = vgpu->gvt; in shadow_ppgtt_mm() [all …]
|
D | gtt.h | 213 int intel_gvt_init_gtt(struct intel_gvt *gvt); 215 void intel_gvt_clean_gtt(struct intel_gvt *gvt);
|
D | mmio_context.h | 50 void intel_gvt_init_engine_mmio_context(struct intel_gvt *gvt);
|
D | mmio_context.c | 161 struct intel_gvt *gvt = dev_priv->gvt; in load_render_mocs() 198 struct intel_gvt *gvt = vgpu->gvt; in restore_context_mmio_for_inhibit() 578 void intel_gvt_init_engine_mmio_context(struct intel_gvt *gvt) in intel_gvt_init_engine_mmio_context()
|
D | cmd_parser.c | 647 static inline const struct cmd_info *find_cmd_entry(struct intel_gvt *gvt, in find_cmd_entry() 659 static inline const struct cmd_info *get_cmd_info(struct intel_gvt *gvt, in get_cmd_info() 837 struct intel_gvt *gvt = s->vgpu->gvt; in force_nonpriv_reg_handler() 883 struct intel_gvt *gvt = vgpu->gvt; in cmd_reg_handler() 965 struct intel_gvt *gvt = s->vgpu->gvt; in cmd_handler_lri() 1023 struct intel_gvt *gvt = s->vgpu->gvt; in cmd_handler_lrm() 2648 static void add_cmd_entry(struct intel_gvt *gvt, struct cmd_entry *e) in add_cmd_entry() 3030 static const struct cmd_info *find_cmd_entry_any_ring(struct intel_gvt *gvt, in find_cmd_entry_any_ring() 3044 static int init_cmd_table(struct intel_gvt *gvt) in init_cmd_table() 3082 static void clean_cmd_table(struct intel_gvt *gvt) in clean_cmd_table() [all …]
|
D | fb_decoder.h | 99 struct intel_gvt;
|
D | display.c | 361 void intel_gvt_check_vblank_emulation(struct intel_gvt *gvt) in intel_gvt_check_vblank_emulation() 436 void intel_gvt_emulate_vblank(struct intel_gvt *gvt) in intel_gvt_emulate_vblank()
|
D | handlers.c | 50 unsigned long intel_gvt_get_device_type(struct intel_gvt *gvt) in intel_gvt_get_device_type() 66 bool intel_gvt_match_device(struct intel_gvt *gvt, in intel_gvt_match_device() 84 static struct intel_gvt_mmio_info *find_mmio_info(struct intel_gvt *gvt, in find_mmio_info() 96 static int new_mmio_info(struct intel_gvt *gvt, in new_mmio_info() 152 int intel_gvt_render_mmio_to_ring_id(struct intel_gvt *gvt, in intel_gvt_render_mmio_to_ring_id() 1638 struct intel_gvt *gvt = vgpu->gvt; in mmio_read_from_hw() 1859 static int init_generic_mmio_info(struct intel_gvt *gvt) in init_generic_mmio_info() 2674 static int init_broadwell_mmio_info(struct intel_gvt *gvt) in init_broadwell_mmio_info() 2863 static int init_skl_mmio_info(struct intel_gvt *gvt) in init_skl_mmio_info() 3112 static int init_bxt_mmio_info(struct intel_gvt *gvt) in init_bxt_mmio_info() [all …]
|
D | cfg_space.c | 361 struct intel_gvt *gvt = vgpu->gvt; in intel_vgpu_init_cfg_space()
|