Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Ddisplay.c39 static int get_edp_pipe(struct intel_vgpu *vgpu) in get_edp_pipe()
59 static int edp_pipe_is_enabled(struct intel_vgpu *vgpu) in edp_pipe_is_enabled()
71 int pipe_is_enabled(struct intel_vgpu *vgpu, int pipe) in pipe_is_enabled()
171 static void emulate_monitor_status_change(struct intel_vgpu *vgpu) in emulate_monitor_status_change()
509 static void clean_virtual_dp_monitor(struct intel_vgpu *vgpu, int port_num) in clean_virtual_dp_monitor()
523 struct intel_vgpu *vgpu; in vblank_timer_fn() local
535 static int setup_virtual_dp_monitor(struct intel_vgpu *vgpu, int port_num, in setup_virtual_dp_monitor()
588 void vgpu_update_vblank_emulation(struct intel_vgpu *vgpu, bool turnon) in vgpu_update_vblank_emulation()
619 static void emulate_vblank_on_pipe(struct intel_vgpu *vgpu, int pipe) in emulate_vblank_on_pipe()
648 void intel_vgpu_emulate_vblank(struct intel_vgpu *vgpu) in intel_vgpu_emulate_vblank()
[all …]
Dcfg_space.c69 static void vgpu_pci_cfg_mem_write(struct intel_vgpu *vgpu, unsigned int off, in vgpu_pci_cfg_mem_write()
117 int intel_vgpu_emulate_cfg_read(struct intel_vgpu *vgpu, unsigned int offset, in intel_vgpu_emulate_cfg_read()
133 static void map_aperture(struct intel_vgpu *vgpu, bool map) in map_aperture()
139 static void trap_gttmmio(struct intel_vgpu *vgpu, bool trap) in trap_gttmmio()
145 static int emulate_pci_command_write(struct intel_vgpu *vgpu, in emulate_pci_command_write()
167 static int emulate_pci_rom_bar_write(struct intel_vgpu *vgpu, in emulate_pci_rom_bar_write()
181 static void emulate_pci_bar_write(struct intel_vgpu *vgpu, unsigned int offset, in emulate_pci_bar_write()
256 int intel_vgpu_emulate_cfg_write(struct intel_vgpu *vgpu, unsigned int offset, in intel_vgpu_emulate_cfg_write()
319 void intel_vgpu_init_cfg_space(struct intel_vgpu *vgpu, in intel_vgpu_init_cfg_space()
332 vgpu_cfg_space(vgpu)[PCI_CLASS_DEVICE] = in intel_vgpu_init_cfg_space() local
[all …]
Dhandlers.c81 static void read_vreg(struct intel_vgpu *vgpu, unsigned int offset, in read_vreg()
87 static void write_vreg(struct intel_vgpu *vgpu, unsigned int offset, in write_vreg()
167 void enter_failsafe_mode(struct intel_vgpu *vgpu, int reason) in enter_failsafe_mode()
186 static int sanitize_fence_mmio_access(struct intel_vgpu *vgpu, in sanitize_fence_mmio_access()
209 static int gamw_echo_dev_rw_ia_write(struct intel_vgpu *vgpu, in gamw_echo_dev_rw_ia_write()
234 static int fence_mmio_read(struct intel_vgpu *vgpu, unsigned int off, in fence_mmio_read()
247 static int fence_mmio_write(struct intel_vgpu *vgpu, unsigned int off, in fence_mmio_write()
271 static int mul_force_wake_write(struct intel_vgpu *vgpu, in mul_force_wake_write()
305 static int gdrst_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gdrst_mmio_write()
354 static int gmbus_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus_mmio_read()
[all …]
Daperture_gm.c42 static int alloc_gm(struct intel_vgpu *vgpu, bool high_gm) in alloc_gm()
80 static int alloc_vgpu_gm(struct intel_vgpu *vgpu) in alloc_vgpu_gm()
108 static void free_vgpu_gm(struct intel_vgpu *vgpu) in free_vgpu_gm()
129 void intel_vgpu_write_fence(struct intel_vgpu *vgpu, in intel_vgpu_write_fence()
158 static void _clear_vgpu_fence(struct intel_vgpu *vgpu) in _clear_vgpu_fence()
166 static void free_vgpu_fence(struct intel_vgpu *vgpu) in free_vgpu_fence()
191 static int alloc_vgpu_fence(struct intel_vgpu *vgpu) in alloc_vgpu_fence()
233 static void free_resource(struct intel_vgpu *vgpu) in free_resource()
242 static int alloc_resource(struct intel_vgpu *vgpu, in alloc_resource()
307 void intel_vgpu_free_resource(struct intel_vgpu *vgpu) in intel_vgpu_free_resource()
[all …]
Dkvmgt.c97 struct intel_vgpu *vgpu; member
130 static void gvt_unpin_guest_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_unpin_guest_page()
138 static int gvt_pin_guest_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_pin_guest_page()
179 static int gvt_dma_map_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_dma_map_page()
202 static void gvt_dma_unmap_page(struct intel_vgpu *vgpu, unsigned long gfn, in gvt_dma_unmap_page()
211 static struct gvt_dma *__gvt_cache_find_dma_addr(struct intel_vgpu *vgpu, in __gvt_cache_find_dma_addr()
230 static struct gvt_dma *__gvt_cache_find_gfn(struct intel_vgpu *vgpu, gfn_t gfn) in __gvt_cache_find_gfn()
248 static int __gvt_cache_add(struct intel_vgpu *vgpu, gfn_t gfn, in __gvt_cache_add()
297 static void __gvt_cache_remove_entry(struct intel_vgpu *vgpu, in __gvt_cache_remove_entry()
306 static void gvt_cache_destroy(struct intel_vgpu *vgpu) in gvt_cache_destroy()
[all …]
Dvgpu.c38 void populate_pvinfo_page(struct intel_vgpu *vgpu) in populate_pvinfo_page()
167 void intel_gvt_activate_vgpu(struct intel_vgpu *vgpu) in intel_gvt_activate_vgpu()
182 void intel_gvt_deactivate_vgpu(struct intel_vgpu *vgpu) in intel_gvt_deactivate_vgpu()
208 void intel_gvt_release_vgpu(struct intel_vgpu *vgpu) in intel_gvt_release_vgpu()
226 void intel_gvt_destroy_vgpu(struct intel_vgpu *vgpu) in intel_gvt_destroy_vgpu()
269 struct intel_vgpu *vgpu; in intel_gvt_create_idle_vgpu() local
304 void intel_gvt_destroy_idle_vgpu(struct intel_vgpu *vgpu) in intel_gvt_destroy_idle_vgpu()
313 int intel_gvt_create_vgpu(struct intel_vgpu *vgpu, in intel_gvt_create_vgpu()
436 void intel_gvt_reset_vgpu_locked(struct intel_vgpu *vgpu, bool dmlr, in intel_gvt_reset_vgpu_locked()
507 void intel_gvt_reset_vgpu(struct intel_vgpu *vgpu) in intel_gvt_reset_vgpu()
Dgtt.c52 static bool intel_gvt_is_valid_gfn(struct intel_vgpu *vgpu, unsigned long gfn) in intel_gvt_is_valid_gfn()
72 bool intel_gvt_ggtt_validate_range(struct intel_vgpu *vgpu, u64 addr, u32 size) in intel_gvt_ggtt_validate_range()
90 int intel_gvt_ggtt_gmadr_g2h(struct intel_vgpu *vgpu, u64 g_addr, u64 *h_addr) in intel_gvt_ggtt_gmadr_g2h()
108 int intel_gvt_ggtt_gmadr_h2g(struct intel_vgpu *vgpu, u64 h_addr, u64 *g_addr) in intel_gvt_ggtt_gmadr_h2g()
125 int intel_gvt_ggtt_index_g2h(struct intel_vgpu *vgpu, unsigned long g_index, in intel_gvt_ggtt_index_g2h()
140 int intel_gvt_ggtt_h2g_index(struct intel_vgpu *vgpu, unsigned long h_index, in intel_gvt_ggtt_h2g_index()
324 struct intel_vgpu *vgpu) in gtt_get_entry64()
349 struct intel_vgpu *vgpu) in gtt_set_entry64()
781 static void ppgtt_free_all_spt(struct intel_vgpu *vgpu) in ppgtt_free_all_spt()
822 struct intel_vgpu *vgpu, unsigned long gfn) in intel_vgpu_find_spt_by_gfn()
[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 …]
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.c51 static unsigned char edid_get_byte(struct intel_vgpu *vgpu) in edid_get_byte()
128 static void reset_gmbus_controller(struct intel_vgpu *vgpu) in reset_gmbus_controller()
137 static int gmbus0_mmio_write(struct intel_vgpu *vgpu, in gmbus0_mmio_write()
177 static int gmbus1_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus1_mmio_write()
278 static int gmbus3_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_write()
287 static int gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_read()
340 static int gmbus2_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_read()
351 static int gmbus2_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_write()
375 int intel_gvt_i2c_handle_gmbus_read(struct intel_vgpu *vgpu, in intel_gvt_i2c_handle_gmbus_read()
405 int intel_gvt_i2c_handle_gmbus_write(struct intel_vgpu *vgpu, in intel_gvt_i2c_handle_gmbus_write()
[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.c50 int intel_vgpu_gpa_to_mmio_offset(struct intel_vgpu *vgpu, u64 gpa) in intel_vgpu_gpa_to_mmio_offset()
63 static void failsafe_emulate_mmio_rw(struct intel_vgpu *vgpu, u64 pa, in failsafe_emulate_mmio_rw()
105 int intel_vgpu_emulate_mmio_read(struct intel_vgpu *vgpu, u64 pa, in intel_vgpu_emulate_mmio_read()
180 int intel_vgpu_emulate_mmio_write(struct intel_vgpu *vgpu, u64 pa, in intel_vgpu_emulate_mmio_write()
243 void intel_vgpu_reset_mmio(struct intel_vgpu *vgpu, bool dmlr) in intel_vgpu_reset_mmio()
310 int intel_vgpu_init_mmio(struct intel_vgpu *vgpu) in intel_vgpu_init_mmio()
328 void intel_vgpu_clean_mmio(struct intel_vgpu *vgpu) in intel_vgpu_clean_mmio()
Ddmabuf.c49 struct intel_vgpu *vgpu; in vgpu_gem_get_pages() local
117 struct intel_vgpu *vgpu = obj->vgpu; in vgpu_gem_put_pages() local
133 struct intel_vgpu *vgpu = obj->vgpu; in dmabuf_gem_object_free() local
172 struct intel_vgpu *vgpu = obj->vgpu; in vgpu_gem_release() local
251 struct intel_vgpu *vgpu, in vgpu_get_plane_info()
337 pick_dmabuf_by_info(struct intel_vgpu *vgpu, in pick_dmabuf_by_info()
367 pick_dmabuf_by_num(struct intel_vgpu *vgpu, u32 id) in pick_dmabuf_by_num()
399 int intel_vgpu_query_plane(struct intel_vgpu *vgpu, void *args) in intel_vgpu_query_plane()
497 int intel_vgpu_get_dmabuf(struct intel_vgpu *vgpu, unsigned int dmabuf_id) in intel_vgpu_get_dmabuf()
568 void intel_vgpu_dmabuf_cleanup(struct intel_vgpu *vgpu) in intel_vgpu_dmabuf_cleanup()
Dscheduler.c129 struct intel_vgpu *vgpu = workload->vgpu; in populate_shadow_context() local
267 static void save_ring_hw_state(struct intel_vgpu *vgpu, in save_ring_hw_state()
363 struct intel_vgpu *vgpu = workload->vgpu; in copy_workload_to_ring_buffer() local
461 struct intel_vgpu *vgpu = workload->vgpu; in intel_gvt_workload_req_alloc() local
488 struct intel_vgpu *vgpu = workload->vgpu; in intel_gvt_scan_and_shadow_workload() local
687 struct intel_vgpu *vgpu = workload->vgpu; in intel_vgpu_shadow_mm_pin() local
740 struct intel_vgpu *vgpu = workload->vgpu; in prepare_workload() local
802 struct intel_vgpu *vgpu = workload->vgpu; in dispatch_workload() local
906 static void update_guest_pdps(struct intel_vgpu *vgpu, in update_guest_pdps()
939 struct intel_vgpu *vgpu = workload->vgpu; in update_guest_context() local
[all …]
Dinterrupt.c178 int intel_vgpu_reg_imr_handler(struct intel_vgpu *vgpu, in intel_vgpu_reg_imr_handler()
208 int intel_vgpu_reg_master_irq_handler(struct intel_vgpu *vgpu, in intel_vgpu_reg_master_irq_handler()
247 int intel_vgpu_reg_ier_handler(struct intel_vgpu *vgpu, in intel_vgpu_reg_ier_handler()
286 int intel_vgpu_reg_iir_handler(struct intel_vgpu *vgpu, unsigned int reg, in intel_vgpu_reg_iir_handler()
324 static void update_upstream_irq(struct intel_vgpu *vgpu, in update_upstream_irq()
408 static int inject_virtual_interrupt(struct intel_vgpu *vgpu) in inject_virtual_interrupt()
444 enum intel_gvt_event_type event, struct intel_vgpu *vgpu) in propagate_event()
467 enum intel_gvt_event_type event, struct intel_vgpu *vgpu) in handle_default_event_virt()
507 static void gen8_check_pending_irq(struct intel_vgpu *vgpu) in gen8_check_pending_irq()
661 void intel_vgpu_trigger_virtual_event(struct intel_vgpu *vgpu, in intel_vgpu_trigger_virtual_event()
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()
Dgvt.h110 #define vgpu_cfg_space(vgpu) ((vgpu)->cfg_space.virtual_cfg_space) argument
124 #define vgpu_opregion(vgpu) (&(vgpu->opregion)) argument
425 #define vgpu_aperture_offset(vgpu) ((vgpu)->gm.low_gm_node.start) argument
426 #define vgpu_hidden_offset(vgpu) ((vgpu)->gm.high_gm_node.start) argument
427 #define vgpu_aperture_sz(vgpu) ((vgpu)->gm.aperture_sz) argument
428 #define vgpu_hidden_sz(vgpu) ((vgpu)->gm.hidden_sz) argument
430 #define vgpu_aperture_pa_base(vgpu) \ argument
433 #define vgpu_ggtt_gm_sz(vgpu) ((vgpu)->gm.aperture_sz + (vgpu)->gm.hidden_sz) argument
435 #define vgpu_aperture_pa_end(vgpu) \ argument
438 #define vgpu_aperture_gmadr_base(vgpu) (vgpu_aperture_offset(vgpu)) argument
[all …]
Dfb_decoder.c147 static u32 intel_vgpu_get_stride(struct intel_vgpu *vgpu, int pipe, in intel_vgpu_get_stride()
183 static int get_active_pipe(struct intel_vgpu *vgpu) in get_active_pipe()
203 int intel_vgpu_decode_primary_plane(struct intel_vgpu *vgpu, in intel_vgpu_decode_primary_plane()
333 int intel_vgpu_decode_cursor_plane(struct intel_vgpu *vgpu, in intel_vgpu_decode_cursor_plane()
412 int intel_vgpu_decode_sprite_plane(struct intel_vgpu *vgpu, in intel_vgpu_decode_sprite_plane()
Dmmio_context.c200 restore_context_mmio_for_inhibit(struct intel_vgpu *vgpu, in restore_context_mmio_for_inhibit()
244 restore_render_mocs_control_for_inhibit(struct intel_vgpu *vgpu, in restore_render_mocs_control_for_inhibit()
271 restore_render_mocs_l3cc_for_inhibit(struct intel_vgpu *vgpu, in restore_render_mocs_l3cc_for_inhibit()
302 int intel_vgpu_restore_inhibit_context(struct intel_vgpu *vgpu, in intel_vgpu_restore_inhibit_context()
352 static void handle_tlb_pending_event(struct intel_vgpu *vgpu, in handle_tlb_pending_event()
Dcmd_parser.c476 struct intel_vgpu *vgpu; member
858 struct intel_vgpu *vgpu = s->vgpu; in cmd_pdp_mmio_update_handler() local
892 struct intel_vgpu *vgpu = s->vgpu; in cmd_reg_handler() local
1332 struct intel_vgpu *vgpu = s->vgpu; in skl_decode_mi_display_flip() local
1419 struct intel_vgpu *vgpu = s->vgpu; in gen8_update_plane_mmio_from_mi_display_flip() local
1473 struct intel_vgpu *vgpu = s->vgpu; in cmd_handler_mi_display_flip() local
1535 struct intel_vgpu *vgpu = s->vgpu; in get_gma_bb_from_cmd() local
1556 struct intel_vgpu *vgpu = s->vgpu; in cmd_address_audit() local
1634 struct intel_vgpu *vgpu = s->vgpu; in unexpected_cmd() local
1759 static int copy_gma_to_hva(struct intel_vgpu *vgpu, struct intel_vgpu_mm *mm, in copy_gma_to_hva()
[all …]
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
Dopregion.c220 int intel_vgpu_init_opregion(struct intel_vgpu *vgpu) in intel_vgpu_init_opregion()
267 int intel_vgpu_opregion_base_write_handler(struct intel_vgpu *vgpu, u32 gpa) in intel_vgpu_opregion_base_write_handler()
284 void intel_vgpu_clean_opregion(struct intel_vgpu *vgpu) in intel_vgpu_clean_opregion()
413 int intel_vgpu_emulate_opregion_request(struct intel_vgpu *vgpu, u32 swsci) in intel_vgpu_emulate_opregion_request()
Dscheduler.h86 struct intel_vgpu *vgpu; member
136 #define workload_q_head(vgpu, e) \ argument
Ddmabuf.h55 struct intel_vgpu *vgpu; member
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_gvt.c71 struct i915_virtual_gpu *vgpu = &dev_priv->vgpu; in free_initial_hw_state() local
106 struct i915_virtual_gpu *vgpu = &dev_priv->vgpu; in save_initial_hw_state() local

12