Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/gvt/
Dmpt.h80 static inline int intel_gvt_hypervisor_attach_vgpu(struct intel_vgpu *vgpu) in intel_gvt_hypervisor_attach_vgpu()
96 static inline void intel_gvt_hypervisor_detach_vgpu(struct intel_vgpu *vgpu) in intel_gvt_hypervisor_detach_vgpu()
116 static inline int intel_gvt_hypervisor_inject_msi(struct intel_vgpu *vgpu) in intel_gvt_hypervisor_inject_msi()
163 struct intel_vgpu *vgpu, unsigned long gfn) in intel_gvt_hypervisor_enable_page_track()
177 struct intel_vgpu *vgpu, unsigned long gfn) in intel_gvt_hypervisor_disable_page_track()
192 static inline int intel_gvt_hypervisor_read_gpa(struct intel_vgpu *vgpu, in intel_gvt_hypervisor_read_gpa()
208 static inline int intel_gvt_hypervisor_write_gpa(struct intel_vgpu *vgpu, in intel_gvt_hypervisor_write_gpa()
223 struct intel_vgpu *vgpu, unsigned long gfn) in intel_gvt_hypervisor_gfn_to_mfn()
239 struct intel_vgpu *vgpu, unsigned long gfn, unsigned long size, in intel_gvt_hypervisor_dma_map_guest_page()
252 struct intel_vgpu *vgpu, dma_addr_t dma_addr) in intel_gvt_hypervisor_dma_unmap_guest_page()
[all …]
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()
507 static void clean_virtual_dp_monitor(struct intel_vgpu *vgpu, int port_num) in clean_virtual_dp_monitor()
518 static int setup_virtual_dp_monitor(struct intel_vgpu *vgpu, int port_num, in setup_virtual_dp_monitor()
564 struct intel_vgpu *vgpu; in intel_gvt_check_vblank_emulation() local
590 static void emulate_vblank_on_pipe(struct intel_vgpu *vgpu, int pipe) in emulate_vblank_on_pipe()
619 static void emulate_vblank(struct intel_vgpu *vgpu) in emulate_vblank()
638 struct intel_vgpu *vgpu; in intel_gvt_emulate_vblank() local
[all …]
Dhandlers.c74 static void read_vreg(struct intel_vgpu *vgpu, unsigned int offset, in read_vreg()
80 static void write_vreg(struct intel_vgpu *vgpu, unsigned int offset, in write_vreg()
175 void enter_failsafe_mode(struct intel_vgpu *vgpu, int reason) in enter_failsafe_mode()
194 static int sanitize_fence_mmio_access(struct intel_vgpu *vgpu, in sanitize_fence_mmio_access()
217 static int gamw_echo_dev_rw_ia_write(struct intel_vgpu *vgpu, in gamw_echo_dev_rw_ia_write()
242 static int fence_mmio_read(struct intel_vgpu *vgpu, unsigned int off, in fence_mmio_read()
255 static int fence_mmio_write(struct intel_vgpu *vgpu, unsigned int off, in fence_mmio_write()
279 static int mul_force_wake_write(struct intel_vgpu *vgpu, in mul_force_wake_write()
313 static int gdrst_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gdrst_mmio_write()
362 static int gmbus_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus_mmio_read()
[all …]
Dcfg_space.c68 static void vgpu_pci_cfg_mem_write(struct intel_vgpu *vgpu, unsigned int off, in vgpu_pci_cfg_mem_write()
116 int intel_vgpu_emulate_cfg_read(struct intel_vgpu *vgpu, unsigned int offset, in intel_vgpu_emulate_cfg_read()
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()
233 static int emulate_pci_bar_write(struct intel_vgpu *vgpu, unsigned int offset, in emulate_pci_bar_write()
310 int intel_vgpu_emulate_cfg_write(struct intel_vgpu *vgpu, unsigned int offset, in intel_vgpu_emulate_cfg_write()
373 void intel_vgpu_init_cfg_space(struct intel_vgpu *vgpu, in intel_vgpu_init_cfg_space()
385 vgpu_cfg_space(vgpu)[PCI_CLASS_DEVICE] = in intel_vgpu_init_cfg_space() local
[all …]
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 …]
Dkvmgt.c93 struct intel_vgpu *vgpu; member
102 struct intel_vgpu *vgpu; member
112 struct intel_vgpu *vgpu; member
137 static inline struct kvmgt_vdev *kvmgt_vdev(struct intel_vgpu *vgpu) in kvmgt_vdev()
151 static void gvt_unpin_guest_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_unpin_guest_page()
171 static int gvt_pin_guest_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_pin_guest_page()
221 static int gvt_dma_map_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_dma_map_page()
244 static void gvt_dma_unmap_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_dma_unmap_page()
253 static struct gvt_dma *__gvt_cache_find_dma_addr(struct intel_vgpu *vgpu, in __gvt_cache_find_dma_addr()
272 static struct gvt_dma *__gvt_cache_find_gfn(struct intel_vgpu *vgpu, gfn_t gfn) in __gvt_cache_find_gfn()
[all …]
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()
324 struct intel_vgpu *vgpu; in intel_gvt_create_idle_vgpu() local
359 void intel_gvt_destroy_idle_vgpu(struct intel_vgpu *vgpu) in intel_gvt_destroy_idle_vgpu()
372 struct intel_vgpu *vgpu; in __intel_gvt_create_vgpu() local
486 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 …]
Dgtt.c54 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()
[all …]
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()
456 int intel_vgpu_submit_execlist(struct intel_vgpu *vgpu, in intel_vgpu_submit_execlist()
500 static void init_vgpu_execlist(struct intel_vgpu *vgpu, in init_vgpu_execlist()
[all …]
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 …]
Dsched_policy.c37 static bool vgpu_has_pending_workload(struct intel_vgpu *vgpu) in vgpu_has_pending_workload()
55 struct intel_vgpu *vgpu; member
75 static void vgpu_update_timeslice(struct intel_vgpu *vgpu, ktime_t cur_time) in vgpu_update_timeslice()
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()
341 static void tbs_sched_start_schedule(struct intel_vgpu *vgpu) in tbs_sched_start_schedule()
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()
[all …]
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()
349 static int gmbus2_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_write()
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()
[all …]
Dscheduler.c125 struct intel_vgpu *vgpu = workload->vgpu; in populate_shadow_context() local
249 static void save_ring_hw_state(struct intel_vgpu *vgpu, in save_ring_hw_state()
345 struct intel_vgpu *vgpu = workload->vgpu; in copy_workload_to_ring_buffer() local
441 struct intel_vgpu *vgpu = workload->vgpu; in intel_gvt_workload_req_alloc() local
468 struct intel_vgpu *vgpu = workload->vgpu; in intel_gvt_scan_and_shadow_workload() local
638 struct intel_vgpu *vgpu = workload->vgpu; in intel_vgpu_shadow_mm_pin() local
691 struct intel_vgpu *vgpu = workload->vgpu; in prepare_workload() local
753 struct intel_vgpu *vgpu = workload->vgpu; in dispatch_workload() local
857 static void update_guest_pdps(struct intel_vgpu *vgpu, in update_guest_pdps()
891 struct intel_vgpu *vgpu = workload->vgpu; in update_guest_context() local
[all …]
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()
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()
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()
Dgvt.h112 #define vgpu_cfg_space(vgpu) ((vgpu)->cfg_space.virtual_cfg_space) argument
126 #define vgpu_opregion(vgpu) (&(vgpu->opregion)) argument
217 static inline void *intel_vgpu_vdev(struct intel_vgpu *vgpu) in intel_vgpu_vdev()
391 #define vgpu_aperture_offset(vgpu) ((vgpu)->gm.low_gm_node.start) argument
392 #define vgpu_hidden_offset(vgpu) ((vgpu)->gm.high_gm_node.start) argument
393 #define vgpu_aperture_sz(vgpu) ((vgpu)->gm.aperture_sz) argument
394 #define vgpu_hidden_sz(vgpu) ((vgpu)->gm.hidden_sz) argument
396 #define vgpu_aperture_pa_base(vgpu) \ argument
399 #define vgpu_ggtt_gm_sz(vgpu) ((vgpu)->gm.aperture_sz + (vgpu)->gm.hidden_sz) argument
401 #define vgpu_aperture_pa_end(vgpu) \ argument
[all …]
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()
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()
Dmmio_context.c195 restore_context_mmio_for_inhibit(struct intel_vgpu *vgpu, in restore_context_mmio_for_inhibit()
239 restore_render_mocs_control_for_inhibit(struct intel_vgpu *vgpu, in restore_render_mocs_control_for_inhibit()
266 restore_render_mocs_l3cc_for_inhibit(struct intel_vgpu *vgpu, in restore_render_mocs_l3cc_for_inhibit()
297 int intel_vgpu_restore_inhibit_context(struct intel_vgpu *vgpu, in intel_vgpu_restore_inhibit_context()
347 static void handle_tlb_pending_event(struct intel_vgpu *vgpu, in handle_tlb_pending_event()
Dcmd_parser.c465 struct intel_vgpu *vgpu; member
895 struct intel_vgpu *vgpu = s->vgpu; in cmd_pdp_mmio_update_handler() local
929 struct intel_vgpu *vgpu = s->vgpu; in cmd_reg_handler() local
1297 struct intel_vgpu *vgpu = s->vgpu; in skl_decode_mi_display_flip() local
1384 struct intel_vgpu *vgpu = s->vgpu; in gen8_update_plane_mmio_from_mi_display_flip() local
1438 struct intel_vgpu *vgpu = s->vgpu; in cmd_handler_mi_display_flip() local
1500 struct intel_vgpu *vgpu = s->vgpu; in get_gma_bb_from_cmd() local
1521 struct intel_vgpu *vgpu = s->vgpu; in cmd_address_audit() local
1599 struct intel_vgpu *vgpu = s->vgpu; in unexpected_cmd() local
1724 static int copy_gma_to_hva(struct intel_vgpu *vgpu, struct intel_vgpu_mm *mm, in copy_gma_to_hva()
[all …]
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()
Ddisplay.h46 #define intel_vgpu_port(vgpu, port) \ argument
49 #define intel_vgpu_has_monitor_on_port(vgpu, port) \ argument
53 #define intel_vgpu_port_is_dp(vgpu, port) \ argument
Dscheduler.h81 struct intel_vgpu *vgpu; member
131 #define workload_q_head(vgpu, e) \ argument
Ddmabuf.h55 struct intel_vgpu *vgpu; member

12