Home
last modified time | relevance | path

Searched refs:vmw_private (Results 1 – 25 of 27) sorted by relevance

12

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.h108 struct vmw_private *dev_priv;
373 struct vmw_private { struct
543 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument
545 return (struct vmw_private *)dev->dev_private; in vmw_priv()
565 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write()
576 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read()
590 int vmw_3d_resource_inc(struct vmw_private *dev_priv, bool unhide_svga);
591 void vmw_3d_resource_dec(struct vmw_private *dev_priv, bool hide_svga);
597 extern int vmw_gmr_bind(struct vmw_private *dev_priv,
601 extern void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id);
[all …]
Dvmwgfx_kms.h63 int vmw_cursor_update_image(struct vmw_private *dev_priv,
66 int vmw_cursor_update_dmabuf(struct vmw_private *dev_priv,
70 void vmw_cursor_update_position(struct vmw_private *dev_priv,
151 int vmw_kms_init_legacy_display_system(struct vmw_private *dev_priv);
152 int vmw_kms_close_legacy_display_system(struct vmw_private *dev_priv);
157 int vmw_kms_init_screen_object_display(struct vmw_private *dev_priv);
158 int vmw_kms_close_screen_object_display(struct vmw_private *dev_priv);
159 int vmw_kms_sou_update_layout(struct vmw_private *dev_priv, unsigned num,
161 bool vmw_kms_screen_object_flippable(struct vmw_private *dev_priv,
163 void vmw_kms_screen_object_update_implicit_fb(struct vmw_private *dev_priv,
Dvmwgfx_irq.c36 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler()
63 static bool vmw_fifo_idle(struct vmw_private *dev_priv, uint32_t seqno) in vmw_fifo_idle()
69 void vmw_update_seqno(struct vmw_private *dev_priv, in vmw_update_seqno()
82 bool vmw_seqno_passed(struct vmw_private *dev_priv, in vmw_seqno_passed()
111 int vmw_fallback_wait(struct vmw_private *dev_priv, in vmw_fallback_wait()
124 bool (*wait_condition)(struct vmw_private *, uint32_t); in vmw_fallback_wait()
180 void vmw_seqno_waiter_add(struct vmw_private *dev_priv) in vmw_seqno_waiter_add()
196 void vmw_seqno_waiter_remove(struct vmw_private *dev_priv) in vmw_seqno_waiter_remove()
211 void vmw_goal_waiter_add(struct vmw_private *dev_priv) in vmw_goal_waiter_add()
227 void vmw_goal_waiter_remove(struct vmw_private *dev_priv) in vmw_goal_waiter_remove()
[all …]
Dvmwgfx_overlay.c60 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay()
96 static int vmw_overlay_send_put(struct vmw_private *dev_priv, in vmw_overlay_send_put()
185 static int vmw_overlay_send_stop(struct vmw_private *dev_priv, in vmw_overlay_send_stop()
227 static int vmw_overlay_move_buffer(struct vmw_private *dev_priv, in vmw_overlay_move_buffer()
252 static int vmw_overlay_stop(struct vmw_private *dev_priv, in vmw_overlay_stop()
299 static int vmw_overlay_update_stream(struct vmw_private *dev_priv, in vmw_overlay_update_stream()
365 int vmw_overlay_stop_all(struct vmw_private *dev_priv) in vmw_overlay_stop_all()
396 int vmw_overlay_resume_all(struct vmw_private *dev_priv) in vmw_overlay_resume_all()
430 int vmw_overlay_pause_all(struct vmw_private *dev_priv) in vmw_overlay_pause_all()
454 static bool vmw_overlay_available(const struct vmw_private *dev_priv) in vmw_overlay_available()
[all …]
Dvmwgfx_execbuf.c84 int (*func) (struct vmw_private *, struct vmw_sw_context *,
193 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, in vmw_resource_context_res_add()
284 static int vmw_cmd_invalid(struct vmw_private *dev_priv, in vmw_cmd_invalid()
291 static int vmw_cmd_ok(struct vmw_private *dev_priv, in vmw_cmd_ok()
436 static int vmw_cmd_res_reloc_add(struct vmw_private *dev_priv, in vmw_cmd_res_reloc_add()
501 vmw_cmd_res_check(struct vmw_private *dev_priv, in vmw_cmd_res_check()
613 static int vmw_cmd_cid_check(struct vmw_private *dev_priv, in vmw_cmd_cid_check()
627 static int vmw_cmd_set_render_target_check(struct vmw_private *dev_priv, in vmw_cmd_set_render_target_check()
666 static int vmw_cmd_surface_copy_check(struct vmw_private *dev_priv, in vmw_cmd_surface_copy_check()
687 static int vmw_cmd_stretch_blt_check(struct vmw_private *dev_priv, in vmw_cmd_stretch_blt_check()
[all …]
Dvmwgfx_resource.c106 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release_id()
120 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release()
167 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_unreference()
186 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_alloc_id()
215 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init()
255 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_activate()
263 struct vmw_resource *vmw_resource_lookup(struct vmw_private *dev_priv, in vmw_resource_lookup()
296 int vmw_user_resource_lookup_handle(struct vmw_private *dev_priv, in vmw_user_resource_lookup_handle()
339 int vmw_user_lookup_handle(struct vmw_private *dev_priv, in vmw_user_lookup_handle()
374 static size_t vmw_dmabuf_acc_size(struct vmw_private *dev_priv, size_t size, in vmw_dmabuf_acc_size()
[all …]
Dvmwgfx_scrn.c73 static void vmw_sou_del_active(struct vmw_private *vmw_priv, in vmw_sou_del_active()
85 static void vmw_sou_add_active(struct vmw_private *vmw_priv, in vmw_sou_add_active()
103 static int vmw_sou_fifo_create(struct vmw_private *dev_priv, in vmw_sou_fifo_create()
157 static int vmw_sou_fifo_destroy(struct vmw_private *dev_priv, in vmw_sou_fifo_destroy()
201 static void vmw_sou_backing_free(struct vmw_private *dev_priv, in vmw_sou_backing_free()
218 static int vmw_sou_backing_alloc(struct vmw_private *dev_priv, in vmw_sou_backing_alloc()
253 struct vmw_private *dev_priv; in vmw_sou_crtc_set_config()
435 static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) in vmw_sou_init()
483 int vmw_kms_init_screen_object_display(struct vmw_private *dev_priv) in vmw_kms_init_screen_object_display()
531 int vmw_kms_close_screen_object_display(struct vmw_private *dev_priv) in vmw_kms_close_screen_object_display()
[all …]
Dvmwgfx_fifo.c32 bool vmw_fifo_have_3d(struct vmw_private *dev_priv) in vmw_fifo_have_3d()
81 bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv) in vmw_fifo_have_pitchlock()
96 int vmw_fifo_init(struct vmw_private *dev_priv, struct vmw_fifo_state *fifo) in vmw_fifo_init()
161 void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason) in vmw_fifo_ping_host()
179 void vmw_fifo_release(struct vmw_private *dev_priv, struct vmw_fifo_state *fifo) in vmw_fifo_release()
209 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full()
220 static int vmw_fifo_wait_noirq(struct vmw_private *dev_priv, in vmw_fifo_wait_noirq()
253 static int vmw_fifo_wait(struct vmw_private *dev_priv, in vmw_fifo_wait()
315 void *vmw_fifo_reserve(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_reserve()
441 void vmw_fifo_commit(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_commit()
[all …]
Dvmwgfx_shader.c95 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init()
132 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_create()
181 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_bind()
212 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_unbind()
252 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_destroy()
298 struct vmw_private *dev_priv = res->dev_priv; in vmw_user_shader_free()
308 struct vmw_private *dev_priv = res->dev_priv; in vmw_shader_free()
339 static int vmw_user_shader_alloc(struct vmw_private *dev_priv, in vmw_user_shader_alloc()
410 struct vmw_resource *vmw_shader_alloc(struct vmw_private *dev_priv, in vmw_shader_alloc()
463 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_shader_define_ioctl()
[all …]
Dvmwgfx_dmabuf.c50 int vmw_dmabuf_to_placement(struct vmw_private *dev_priv, in vmw_dmabuf_to_placement()
93 int vmw_dmabuf_to_vram_or_gmr(struct vmw_private *dev_priv, in vmw_dmabuf_to_vram_or_gmr()
163 int vmw_dmabuf_to_vram(struct vmw_private *dev_priv, in vmw_dmabuf_to_vram()
195 int vmw_dmabuf_to_start_of_vram(struct vmw_private *dev_priv, in vmw_dmabuf_to_start_of_vram()
258 int vmw_dmabuf_unpin(struct vmw_private *dev_priv, in vmw_dmabuf_unpin()
Dvmwgfx_drv.c297 static int vmw_dummy_query_bo_create(struct vmw_private *dev_priv) in vmw_dummy_query_bo_create()
343 static int vmw_request_device(struct vmw_private *dev_priv) in vmw_request_device()
376 static void vmw_release_device(struct vmw_private *dev_priv) in vmw_release_device()
399 int vmw_3d_resource_inc(struct vmw_private *dev_priv, in vmw_3d_resource_inc()
427 void vmw_3d_resource_dec(struct vmw_private *dev_priv, in vmw_3d_resource_dec()
455 static void vmw_get_initial_size(struct vmw_private *dev_priv) in vmw_get_initial_size()
494 static int vmw_dma_select_mode(struct vmw_private *dev_priv) in vmw_dma_select_mode()
562 static int vmw_dma_masks(struct vmw_private *dev_priv) in vmw_dma_masks()
574 static int vmw_dma_masks(struct vmw_private *dev_priv) in vmw_dma_masks()
582 struct vmw_private *dev_priv; in vmw_driver_load()
[all …]
Dvmwgfx_context.c109 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_context_destroy()
146 static int vmw_gb_context_init(struct vmw_private *dev_priv, in vmw_gb_context_init()
183 static int vmw_context_init(struct vmw_private *dev_priv, in vmw_context_init()
235 struct vmw_resource *vmw_context_alloc(struct vmw_private *dev_priv) in vmw_context_alloc()
251 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_create()
297 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_bind()
328 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_unbind()
394 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_destroy()
436 struct vmw_private *dev_priv = res->dev_priv; in vmw_user_context_free()
471 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_context_define_ioctl()
[all …]
Dvmwgfx_gmr.c38 static int vmw_gmr2_bind(struct vmw_private *dev_priv, in vmw_gmr2_bind()
106 static void vmw_gmr2_unbind(struct vmw_private *dev_priv, in vmw_gmr2_unbind()
128 int vmw_gmr_bind(struct vmw_private *dev_priv, in vmw_gmr_bind()
147 void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id) in vmw_gmr_unbind()
Dvmwgfx_kms.c88 int vmw_cursor_update_image(struct vmw_private *dev_priv, in vmw_cursor_update_image()
124 int vmw_cursor_update_dmabuf(struct vmw_private *dev_priv, in vmw_cursor_update_dmabuf()
161 void vmw_cursor_update_position(struct vmw_private *dev_priv, in vmw_cursor_update_position()
177 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_set()
262 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_move()
384 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv) in vmw_kms_cursor_post_execbuf()
445 static int do_surface_dirty_sou(struct vmw_private *dev_priv, in do_surface_dirty_sou()
598 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_surface_dirty()
646 static int vmw_kms_new_framebuffer_surface(struct vmw_private *dev_priv, in vmw_kms_new_framebuffer_surface()
775 static int do_dmabuf_dirty_ldu(struct vmw_private *dev_priv, in do_dmabuf_dirty_ldu()
[all …]
Dvmwgfx_ioctl.c40 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_getparam_ioctl()
115 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap()
153 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_get_cap_3d_ioctl()
223 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_ioctl()
305 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_readback_ioctl()
392 struct vmw_private *dev_priv = in vmw_fops_poll()
415 struct vmw_private *dev_priv = in vmw_fops_read()
Dvmwgfx_ttm_glue.c34 struct vmw_private *dev_priv; in vmw_mmap()
57 int vmw_ttm_global_init(struct vmw_private *dev_priv) in vmw_ttm_global_init()
94 void vmw_ttm_global_release(struct vmw_private *dev_priv) in vmw_ttm_global_release()
Dvmwgfx_ldu.c73 static int vmw_ldu_commit_list(struct vmw_private *dev_priv) in vmw_ldu_commit_list()
155 static int vmw_ldu_del_active(struct vmw_private *vmw_priv, in vmw_ldu_del_active()
174 static int vmw_ldu_add_active(struct vmw_private *vmw_priv, in vmw_ldu_add_active()
211 struct vmw_private *dev_priv; in vmw_ldu_crtc_set_config()
339 static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) in vmw_ldu_init()
387 int vmw_kms_init_legacy_display_system(struct vmw_private *dev_priv) in vmw_kms_init_legacy_display_system()
434 int vmw_kms_close_legacy_display_system(struct vmw_private *dev_priv) in vmw_kms_close_legacy_display_system()
Dvmwgfx_mob.c75 static int vmw_mob_pt_populate(struct vmw_private *dev_priv,
93 static int vmw_setup_otable_base(struct vmw_private *dev_priv, in vmw_setup_otable_base()
176 static void vmw_takedown_otable_base(struct vmw_private *dev_priv, in vmw_takedown_otable_base()
231 int vmw_otables_setup(struct vmw_private *dev_priv) in vmw_otables_setup()
318 void vmw_otables_takedown(struct vmw_private *dev_priv) in vmw_otables_takedown()
388 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, in vmw_mob_pt_populate()
545 void vmw_mob_unbind(struct vmw_private *dev_priv, in vmw_mob_unbind()
595 int vmw_mob_bind(struct vmw_private *dev_priv, in vmw_mob_bind()
Dvmwgfx_surface.c311 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_surface_destroy()
361 struct vmw_private *dev_priv = res->dev_priv; in vmw_legacy_srf_create()
443 struct vmw_private *dev_priv = res->dev_priv; in vmw_legacy_srf_dma()
525 struct vmw_private *dev_priv = res->dev_priv; in vmw_legacy_srf_destroy()
570 static int vmw_surface_init(struct vmw_private *dev_priv, in vmw_surface_init()
626 struct vmw_private *dev_priv = srf->res.dev_priv; in vmw_user_surface_free()
686 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_surface_define_ioctl()
890 vmw_surface_handle_reference(struct vmw_private *dev_priv, in vmw_surface_handle_reference()
969 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_surface_reference_ioctl()
1018 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_surface_create()
[all …]
Dvmwgfx_fb.c39 struct vmw_private *vmw_priv;
100 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_check_var()
162 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_set_par()
210 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_dirty_flush()
373 static int vmw_fb_create_bo(struct vmw_private *vmw_priv, in vmw_fb_create_bo()
414 int vmw_fb_init(struct vmw_private *vmw_priv) in vmw_fb_init()
561 int vmw_fb_close(struct vmw_private *vmw_priv) in vmw_fb_close()
588 int vmw_fb_off(struct vmw_private *vmw_priv) in vmw_fb_off()
614 int vmw_fb_on(struct vmw_private *vmw_priv) in vmw_fb_on()
Dvmwgfx_buffer.c205 struct vmw_private *dev_priv;
381 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_map_dma()
470 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unmap_dma()
626 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_populate()
653 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unpopulate()
691 vmw_be->dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_tt_create()
770 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve()
Dvmwgfx_fence.h34 struct vmw_private;
63 vmw_fence_manager_init(struct vmw_private *dev_priv);
Dvmwgfx_gmrid_manager.c119 struct vmw_private *dev_priv = in vmw_gmrid_man_init()
120 container_of(man->bdev, struct vmw_private, bdev); in vmw_gmrid_man_init()
Dvmwgfx_fence.c35 struct vmw_private *dev_priv;
143 struct vmw_private *dev_priv = fman->dev_priv; in vmw_fence_enable_signaling()
177 struct vmw_private *dev_priv = fman->dev_priv; in vmw_fence_wait()
284 struct vmw_fence_manager *vmw_fence_manager_init(struct vmw_private *dev_priv) in vmw_fence_manager_init()
527 struct vmw_private *dev_priv = fman_from_fence(fence)->dev_priv; in vmw_fence_obj_flush()
804 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_fence_obj_signaled_ioctl()
1118 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_fence_event_ioctl()
Dvmwgfx_cmdbuf_res.c69 struct vmw_private *dev_priv;
284 vmw_cmdbuf_res_man_create(struct vmw_private *dev_priv) in vmw_cmdbuf_res_man_create()

12