Home
last modified time | relevance | path

Searched defs:vgpu (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/gpu/drm/i915/gvt/
A Dmpt.h118 static inline int intel_gvt_hypervisor_inject_msi(struct intel_vgpu *vgpu) in intel_gvt_hypervisor_inject_msi()
165 struct intel_vgpu *vgpu, unsigned long gfn) in intel_gvt_hypervisor_enable_page_track()
179 struct intel_vgpu *vgpu, unsigned long gfn) in intel_gvt_hypervisor_disable_page_track()
194 static inline int intel_gvt_hypervisor_read_gpa(struct intel_vgpu *vgpu, in intel_gvt_hypervisor_read_gpa()
225 struct intel_vgpu *vgpu, unsigned long gfn) in intel_gvt_hypervisor_gfn_to_mfn()
241 struct intel_vgpu *vgpu, unsigned long gfn, unsigned long size, in intel_gvt_hypervisor_dma_map_guest_page()
254 struct intel_vgpu *vgpu, dma_addr_t dma_addr) in intel_gvt_hypervisor_dma_unmap_guest_page()
268 intel_gvt_hypervisor_dma_pin_guest_page(struct intel_vgpu *vgpu, in intel_gvt_hypervisor_dma_pin_guest_page()
286 struct intel_vgpu *vgpu, unsigned long gfn, in intel_gvt_hypervisor_map_gfn_to_mfn()
309 struct intel_vgpu *vgpu, u64 start, u64 end, bool map) in intel_gvt_hypervisor_set_trap_area()
[all …]
A Ddisplay.c38 static int get_edp_pipe(struct intel_vgpu *vgpu) in get_edp_pipe()
58 static int edp_pipe_is_enabled(struct intel_vgpu *vgpu) in edp_pipe_is_enabled()
70 int pipe_is_enabled(struct intel_vgpu *vgpu, int pipe) in pipe_is_enabled()
170 static void emulate_monitor_status_change(struct intel_vgpu *vgpu) in emulate_monitor_status_change()
522 struct intel_vgpu *vgpu; in vblank_timer_fn() local
587 void vgpu_update_vblank_emulation(struct intel_vgpu *vgpu, bool turnon) in vgpu_update_vblank_emulation()
618 static void emulate_vblank_on_pipe(struct intel_vgpu *vgpu, int pipe) in emulate_vblank_on_pipe()
647 void intel_vgpu_emulate_vblank(struct intel_vgpu *vgpu) in intel_vgpu_emulate_vblank()
754 void intel_vgpu_clean_display(struct intel_vgpu *vgpu) in intel_vgpu_clean_display()
780 int intel_vgpu_init_display(struct intel_vgpu *vgpu, u64 resolution) in intel_vgpu_init_display()
[all …]
A Dhandlers.c280 static int mul_force_wake_write(struct intel_vgpu *vgpu, in mul_force_wake_write()
393 static int transconf_mmio_write(struct intel_vgpu *vgpu, in transconf_mmio_write()
768 static int force_nonpriv_write(struct intel_vgpu *vgpu, in force_nonpriv_write()
975 static int pch_adpa_mmio_write(struct intel_vgpu *vgpu, in pch_adpa_mmio_write()
1046 static int reg50080_mmio_write(struct intel_vgpu *vgpu, in reg50080_mmio_write()
1555 static int pf_write(struct intel_vgpu *vgpu, in pf_write()
1931 static int guc_status_read(struct intel_vgpu *vgpu, in guc_status_read()
1941 static int mmio_read_from_hw(struct intel_vgpu *vgpu, in mmio_read_from_hw()
3944 struct intel_vgpu *vgpu; in intel_gvt_restore_fence() local
3957 struct intel_vgpu *vgpu = data; in mmio_pm_restore_handler() local
[all …]
A Daperture_gm.c41 static int alloc_gm(struct intel_vgpu *vgpu, bool high_gm) in alloc_gm()
79 static int alloc_vgpu_gm(struct intel_vgpu *vgpu) in alloc_vgpu_gm()
107 static void free_vgpu_gm(struct intel_vgpu *vgpu) in free_vgpu_gm()
128 void intel_vgpu_write_fence(struct intel_vgpu *vgpu, in intel_vgpu_write_fence()
157 static void _clear_vgpu_fence(struct intel_vgpu *vgpu) in _clear_vgpu_fence()
165 static void free_vgpu_fence(struct intel_vgpu *vgpu) in free_vgpu_fence()
190 static int alloc_vgpu_fence(struct intel_vgpu *vgpu) in alloc_vgpu_fence()
232 static void free_resource(struct intel_vgpu *vgpu) in free_resource()
241 static int alloc_resource(struct intel_vgpu *vgpu, in alloc_resource()
306 void intel_vgpu_free_resource(struct intel_vgpu *vgpu) in intel_vgpu_free_resource()
[all …]
A Dcfg_space.c68 static void vgpu_pci_cfg_mem_write(struct intel_vgpu *vgpu, unsigned int off, in vgpu_pci_cfg_mem_write()
132 static int map_aperture(struct intel_vgpu *vgpu, bool map) in map_aperture()
162 static int trap_gttmmio(struct intel_vgpu *vgpu, bool trap) in trap_gttmmio()
188 static int emulate_pci_command_write(struct intel_vgpu *vgpu, in emulate_pci_command_write()
219 static int emulate_pci_rom_bar_write(struct intel_vgpu *vgpu, in emulate_pci_rom_bar_write()
373 void intel_vgpu_init_cfg_space(struct intel_vgpu *vgpu, in intel_vgpu_init_cfg_space()
386 vgpu_cfg_space(vgpu)[PCI_CLASS_DEVICE] = in intel_vgpu_init_cfg_space() local
388 vgpu_cfg_space(vgpu)[PCI_CLASS_PROG] = in intel_vgpu_init_cfg_space() local
399 vgpu_cfg_space(vgpu)[PCI_COMMAND] &= ~(PCI_COMMAND_IO in intel_vgpu_init_cfg_space() local
422 if (vgpu_cfg_space(vgpu)[next + PCI_CAP_LIST_ID] == PCI_CAP_ID_PM) { in intel_vgpu_init_cfg_space() local
[all …]
A Dvgpu.c38 void populate_pvinfo_page(struct intel_vgpu *vgpu) in populate_pvinfo_page()
214 void intel_gvt_activate_vgpu(struct intel_vgpu *vgpu) in intel_gvt_activate_vgpu()
229 void intel_gvt_deactivate_vgpu(struct intel_vgpu *vgpu) in intel_gvt_deactivate_vgpu()
255 void intel_gvt_release_vgpu(struct intel_vgpu *vgpu) in intel_gvt_release_vgpu()
273 void intel_gvt_destroy_vgpu(struct intel_vgpu *vgpu) in intel_gvt_destroy_vgpu()
322 struct intel_vgpu *vgpu; in intel_gvt_create_idle_vgpu() local
357 void intel_gvt_destroy_idle_vgpu(struct intel_vgpu *vgpu) in intel_gvt_destroy_idle_vgpu()
370 struct intel_vgpu *vgpu; in __intel_gvt_create_vgpu() local
484 struct intel_vgpu *vgpu; in intel_gvt_create_vgpu() local
538 void intel_gvt_reset_vgpu_locked(struct intel_vgpu *vgpu, bool dmlr, in intel_gvt_reset_vgpu_locked()
[all …]
A Dkvmgt.c94 struct intel_vgpu *vgpu; member
102 struct intel_vgpu *vgpu; member
112 struct intel_vgpu *vgpu; member
780 static void kvmgt_put_vfio_device(void *vgpu) in kvmgt_put_vfio_device()
792 struct intel_vgpu *vgpu = NULL; in intel_vgpu_create() local
829 struct intel_vgpu *vgpu = mdev_get_drvdata(mdev); in intel_vgpu_remove() local
844 struct intel_vgpu *vgpu = vdev->vgpu; in intel_vgpu_iommu_notifier() local
1916 struct intel_vgpu *vgpu; in kvmgt_guest_init() local
2006 struct intel_vgpu *vgpu; in kvmgt_inject_msi() local
2054 struct intel_vgpu *vgpu; in kvmgt_dma_map_guest_page() local
[all …]
A Dexeclist.c93 struct intel_vgpu *vgpu = execlist->vgpu; in emulate_execlist_status() local
128 struct intel_vgpu *vgpu = execlist->vgpu; in emulate_csb_update() local
184 struct intel_vgpu *vgpu = execlist->vgpu; in emulate_execlist_ctx_schedule_out() local
257 struct intel_vgpu *vgpu = execlist->vgpu; in get_next_execlist_slot() local
282 struct intel_vgpu *vgpu = execlist->vgpu; in emulate_execlist_schedule_in() local
372 struct intel_vgpu *vgpu = workload->vgpu; in prepare_execlist_workload() local
394 struct intel_vgpu *vgpu = workload->vgpu; in complete_execlist_workload() local
430 static int submit_context(struct intel_vgpu *vgpu, in submit_context()
522 static void clean_execlist(struct intel_vgpu *vgpu, in clean_execlist()
536 static void reset_execlist(struct intel_vgpu *vgpu, in reset_execlist()
[all …]
A Dgtt.c306 struct intel_vgpu *vgpu) in gtt_get_entry64()
331 struct intel_vgpu *vgpu) in gtt_set_entry64()
986 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_invalidate_pte() local
1003 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_invalidate_spt() local
1309 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_populate_spt() local
1353 struct intel_vgpu *vgpu = spt->vgpu; in ppgtt_handle_guest_entry_removal() local
1785 struct intel_vgpu *vgpu = mm->vgpu; in invalidate_ppgtt_mm() local
1815 struct intel_vgpu *vgpu = mm->vgpu; in shadow_ppgtt_mm() local
2069 struct intel_vgpu *vgpu = mm->vgpu; in ppgtt_get_next_level_entry() local
2097 struct intel_vgpu *vgpu = mm->vgpu; in intel_vgpu_gma_to_gpa() local
[all …]
A Ddmabuf.c39 static int vgpu_pin_dma_address(struct intel_vgpu *vgpu, in vgpu_pin_dma_address()
51 static void vgpu_unpin_dma_address(struct intel_vgpu *vgpu, in vgpu_unpin_dma_address()
61 struct intel_vgpu *vgpu; in vgpu_gem_get_pages() local
129 struct intel_vgpu *vgpu = obj->vgpu; in vgpu_gem_put_pages() local
145 struct intel_vgpu *vgpu = obj->vgpu; in dmabuf_gem_object_free() local
186 struct intel_vgpu *vgpu = obj->vgpu; in vgpu_gem_release() local
265 struct intel_vgpu *vgpu, in vgpu_get_plane_info()
351 pick_dmabuf_by_info(struct intel_vgpu *vgpu, in pick_dmabuf_by_info()
383 pick_dmabuf_by_num(struct intel_vgpu *vgpu, u32 id) in pick_dmabuf_by_num()
419 int intel_vgpu_query_plane(struct intel_vgpu *vgpu, void *args) in intel_vgpu_query_plane()
[all …]
A Dsched_policy.c37 static bool vgpu_has_pending_workload(struct intel_vgpu *vgpu) in vgpu_has_pending_workload()
55 struct intel_vgpu *vgpu; member
179 struct intel_vgpu *vgpu = NULL; in find_busy_vgpu() local
216 struct intel_vgpu *vgpu = NULL; in tbs_sched_func() local
311 static int tbs_sched_init_vgpu(struct intel_vgpu *vgpu) in tbs_sched_init_vgpu()
328 static void tbs_sched_clean_vgpu(struct intel_vgpu *vgpu) in tbs_sched_clean_vgpu()
363 static void tbs_sched_stop_schedule(struct intel_vgpu *vgpu) in tbs_sched_stop_schedule()
406 int intel_vgpu_init_sched_policy(struct intel_vgpu *vgpu) in intel_vgpu_init_sched_policy()
417 void intel_vgpu_clean_sched_policy(struct intel_vgpu *vgpu) in intel_vgpu_clean_sched_policy()
424 void intel_vgpu_start_schedule(struct intel_vgpu *vgpu) in intel_vgpu_start_schedule()
[all …]
A Dpage_track.c35 struct intel_vgpu *vgpu, unsigned long gfn) in intel_vgpu_find_page_track()
50 int intel_vgpu_register_page_track(struct intel_vgpu *vgpu, unsigned long gfn, in intel_vgpu_register_page_track()
82 void intel_vgpu_unregister_page_track(struct intel_vgpu *vgpu, in intel_vgpu_unregister_page_track()
103 int intel_vgpu_enable_page_track(struct intel_vgpu *vgpu, unsigned long gfn) in intel_vgpu_enable_page_track()
130 int intel_vgpu_disable_page_track(struct intel_vgpu *vgpu, unsigned long gfn) in intel_vgpu_disable_page_track()
159 int intel_vgpu_page_track_handler(struct intel_vgpu *vgpu, u64 gpa, in intel_vgpu_page_track_handler()
A Dedid.c49 static unsigned char edid_get_byte(struct intel_vgpu *vgpu) in edid_get_byte()
126 static void reset_gmbus_controller(struct intel_vgpu *vgpu) in reset_gmbus_controller()
135 static int gmbus0_mmio_write(struct intel_vgpu *vgpu, in gmbus0_mmio_write()
175 static int gmbus1_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus1_mmio_write()
276 static int gmbus3_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_write()
285 static int gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_read()
338 static int gmbus2_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_read()
373 int intel_gvt_i2c_handle_gmbus_read(struct intel_vgpu *vgpu, in intel_gvt_i2c_handle_gmbus_read()
403 int intel_gvt_i2c_handle_gmbus_write(struct intel_vgpu *vgpu, in intel_gvt_i2c_handle_gmbus_write()
477 void intel_gvt_i2c_handle_aux_ch_write(struct intel_vgpu *vgpu, in intel_gvt_i2c_handle_aux_ch_write()
[all …]
A Dmmio.c47 int intel_vgpu_gpa_to_mmio_offset(struct intel_vgpu *vgpu, u64 gpa) in intel_vgpu_gpa_to_mmio_offset()
60 static void failsafe_emulate_mmio_rw(struct intel_vgpu *vgpu, u64 pa, in failsafe_emulate_mmio_rw()
102 int intel_vgpu_emulate_mmio_read(struct intel_vgpu *vgpu, u64 pa, in intel_vgpu_emulate_mmio_read()
177 int intel_vgpu_emulate_mmio_write(struct intel_vgpu *vgpu, u64 pa, in intel_vgpu_emulate_mmio_write()
240 void intel_vgpu_reset_mmio(struct intel_vgpu *vgpu, bool dmlr) in intel_vgpu_reset_mmio()
307 int intel_vgpu_init_mmio(struct intel_vgpu *vgpu) in intel_vgpu_init_mmio()
325 void intel_vgpu_clean_mmio(struct intel_vgpu *vgpu) in intel_vgpu_clean_mmio()
A Dscheduler.c127 struct intel_vgpu *vgpu = workload->vgpu; in populate_shadow_context() local
361 struct intel_vgpu *vgpu = workload->vgpu; in copy_workload_to_ring_buffer() local
459 struct intel_vgpu *vgpu = workload->vgpu; in intel_gvt_workload_req_alloc() local
486 struct intel_vgpu *vgpu = workload->vgpu; in intel_gvt_scan_and_shadow_workload() local
685 struct intel_vgpu *vgpu = workload->vgpu; in intel_vgpu_shadow_mm_pin() local
737 struct intel_vgpu *vgpu = workload->vgpu; in prepare_workload() local
799 struct intel_vgpu *vgpu = workload->vgpu; in dispatch_workload() local
937 struct intel_vgpu *vgpu = workload->vgpu; in update_guest_context() local
1069 struct intel_vgpu *vgpu = workload->vgpu; in complete_current_workload() local
1155 struct intel_vgpu *vgpu = NULL; in workload_thread() local
[all …]
A Ddebugfs.c29 struct intel_vgpu *vgpu; member
86 struct intel_vgpu *vgpu = s->private; in vgpu_mmio_diff_show() local
129 struct intel_vgpu *vgpu = (struct intel_vgpu *)data; in vgpu_scan_nonprivbb_get() local
144 struct intel_vgpu *vgpu = (struct intel_vgpu *)data; in vgpu_scan_nonprivbb_set() local
158 void intel_gvt_debugfs_add_vgpu(struct intel_vgpu *vgpu) in intel_gvt_debugfs_add_vgpu()
176 void intel_gvt_debugfs_remove_vgpu(struct intel_vgpu *vgpu) in intel_gvt_debugfs_remove_vgpu()
A Dinterrupt.c175 int intel_vgpu_reg_imr_handler(struct intel_vgpu *vgpu, in intel_vgpu_reg_imr_handler()
205 int intel_vgpu_reg_master_irq_handler(struct intel_vgpu *vgpu, in intel_vgpu_reg_master_irq_handler()
244 int intel_vgpu_reg_ier_handler(struct intel_vgpu *vgpu, in intel_vgpu_reg_ier_handler()
283 int intel_vgpu_reg_iir_handler(struct intel_vgpu *vgpu, unsigned int reg, in intel_vgpu_reg_iir_handler()
321 static void update_upstream_irq(struct intel_vgpu *vgpu, in update_upstream_irq()
399 static int inject_virtual_interrupt(struct intel_vgpu *vgpu) in inject_virtual_interrupt()
405 enum intel_gvt_event_type event, struct intel_vgpu *vgpu) in propagate_event()
428 enum intel_gvt_event_type event, struct intel_vgpu *vgpu) in handle_default_event_virt()
468 static void gen8_check_pending_irq(struct intel_vgpu *vgpu) in gen8_check_pending_irq()
622 void intel_vgpu_trigger_virtual_event(struct intel_vgpu *vgpu, in intel_vgpu_trigger_virtual_event()
A Dgvt.h130 #define vgpu_opregion(vgpu) (&(vgpu->opregion)) argument
408 #define vgpu_aperture_pa_base(vgpu) \ argument
413 #define vgpu_aperture_pa_end(vgpu) \ argument
417 #define vgpu_aperture_gmadr_end(vgpu) \ argument
421 #define vgpu_hidden_gmadr_end(vgpu) \ argument
451 #define vgpu_vreg_t(vgpu, reg) \ argument
453 #define vgpu_vreg(vgpu, offset) \ argument
455 #define vgpu_vreg64_t(vgpu, reg) \ argument
457 #define vgpu_vreg64(vgpu, offset) \ argument
504 #define vgpu_gmadr_is_hidden(vgpu, gmadr) \ argument
[all …]
A Dfb_decoder.c146 static u32 intel_vgpu_get_stride(struct intel_vgpu *vgpu, int pipe, in intel_vgpu_get_stride()
182 static int get_active_pipe(struct intel_vgpu *vgpu) in get_active_pipe()
202 int intel_vgpu_decode_primary_plane(struct intel_vgpu *vgpu, in intel_vgpu_decode_primary_plane()
332 int intel_vgpu_decode_cursor_plane(struct intel_vgpu *vgpu, in intel_vgpu_decode_cursor_plane()
411 int intel_vgpu_decode_sprite_plane(struct intel_vgpu *vgpu, in intel_vgpu_decode_sprite_plane()
A Dmmio_context.c198 restore_context_mmio_for_inhibit(struct intel_vgpu *vgpu, in restore_context_mmio_for_inhibit()
242 restore_render_mocs_control_for_inhibit(struct intel_vgpu *vgpu, in restore_render_mocs_control_for_inhibit()
269 restore_render_mocs_l3cc_for_inhibit(struct intel_vgpu *vgpu, in restore_render_mocs_l3cc_for_inhibit()
300 int intel_vgpu_restore_inhibit_context(struct intel_vgpu *vgpu, in intel_vgpu_restore_inhibit_context()
350 static void handle_tlb_pending_event(struct intel_vgpu *vgpu, in handle_tlb_pending_event()
A Dcmd_parser.c474 struct intel_vgpu *vgpu; member
856 struct intel_vgpu *vgpu = s->vgpu; in cmd_pdp_mmio_update_handler() local
890 struct intel_vgpu *vgpu = s->vgpu; in cmd_reg_handler() local
1330 struct intel_vgpu *vgpu = s->vgpu; in skl_decode_mi_display_flip() local
1417 struct intel_vgpu *vgpu = s->vgpu; in gen8_update_plane_mmio_from_mi_display_flip() local
1471 struct intel_vgpu *vgpu = s->vgpu; in cmd_handler_mi_display_flip() local
1533 struct intel_vgpu *vgpu = s->vgpu; in get_gma_bb_from_cmd() local
1554 struct intel_vgpu *vgpu = s->vgpu; in cmd_address_audit() local
1632 struct intel_vgpu *vgpu = s->vgpu; in unexpected_cmd() local
1812 struct intel_vgpu *vgpu = s->vgpu; in find_bb_size() local
[all …]
A Dgvt.c85 struct intel_vgpu *vgpu; in intel_gvt_test_and_emulate_vblank() local
192 struct intel_vgpu *vgpu; in intel_gvt_init_device() local
A Dopregion.c220 int intel_vgpu_init_opregion(struct intel_vgpu *vgpu) in intel_vgpu_init_opregion()
258 static int map_vgpu_opregion(struct intel_vgpu *vgpu, bool map) in map_vgpu_opregion()
294 int intel_vgpu_opregion_base_write_handler(struct intel_vgpu *vgpu, u32 gpa) in intel_vgpu_opregion_base_write_handler()
332 void intel_vgpu_clean_opregion(struct intel_vgpu *vgpu) in intel_vgpu_clean_opregion()
466 int intel_vgpu_emulate_opregion_request(struct intel_vgpu *vgpu, u32 swsci) in intel_vgpu_emulate_opregion_request()
A Ddisplay.h47 #define intel_vgpu_port(vgpu, port) \ argument
50 #define intel_vgpu_has_monitor_on_port(vgpu, port) \ argument
54 #define intel_vgpu_port_is_dp(vgpu, port) \ argument
A Dscheduler.h86 struct intel_vgpu *vgpu; member
136 #define workload_q_head(vgpu, e) \ argument

Completed in 68 milliseconds

12