/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.h | 113 struct vmw_private *dev_priv; 355 struct vmw_private { struct 535 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument 537 return (struct vmw_private *)dev->dev_private; in vmw_priv() 557 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write() 568 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read() 582 extern void vmw_svga_enable(struct vmw_private *dev_priv); 583 extern void vmw_svga_disable(struct vmw_private *dev_priv); 590 extern int vmw_gmr_bind(struct vmw_private *dev_priv, 594 extern void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id); [all …]
|
D | vmwgfx_kms.h | 68 struct vmw_private *dev_priv; 130 int vmw_cursor_update_image(struct vmw_private *dev_priv, 133 int vmw_cursor_update_dmabuf(struct vmw_private *dev_priv, 137 void vmw_cursor_update_position(struct vmw_private *dev_priv, 217 int vmw_kms_helper_dirty(struct vmw_private *dev_priv, 226 int vmw_kms_helper_buffer_prepare(struct vmw_private *dev_priv, 231 void vmw_kms_helper_buffer_finish(struct vmw_private *dev_priv, 243 int vmw_kms_readback(struct vmw_private *dev_priv, 250 vmw_kms_new_framebuffer(struct vmw_private *dev_priv, 255 int vmw_kms_fbdev_init_data(struct vmw_private *dev_priv, [all …]
|
D | vmwgfx_irq.c | 36 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler() 64 static bool vmw_fifo_idle(struct vmw_private *dev_priv, uint32_t seqno) in vmw_fifo_idle() 70 void vmw_update_seqno(struct vmw_private *dev_priv, in vmw_update_seqno() 83 bool vmw_seqno_passed(struct vmw_private *dev_priv, in vmw_seqno_passed() 112 int vmw_fallback_wait(struct vmw_private *dev_priv, in vmw_fallback_wait() 125 bool (*wait_condition)(struct vmw_private *, uint32_t); in vmw_fallback_wait() 191 void vmw_generic_waiter_add(struct vmw_private *dev_priv, in vmw_generic_waiter_add() 203 void vmw_generic_waiter_remove(struct vmw_private *dev_priv, in vmw_generic_waiter_remove() 214 void vmw_seqno_waiter_add(struct vmw_private *dev_priv) in vmw_seqno_waiter_add() 220 void vmw_seqno_waiter_remove(struct vmw_private *dev_priv) in vmw_seqno_waiter_remove() [all …]
|
D | vmwgfx_overlay.c | 60 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 …]
|
D | vmwgfx_fifo.c | 37 bool vmw_fifo_have_3d(struct vmw_private *dev_priv) in vmw_fifo_have_3d() 86 bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv) in vmw_fifo_have_pitchlock() 101 int vmw_fifo_init(struct vmw_private *dev_priv, struct vmw_fifo_state *fifo) in vmw_fifo_init() 166 void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason) in vmw_fifo_ping_host() 176 void vmw_fifo_release(struct vmw_private *dev_priv, struct vmw_fifo_state *fifo) in vmw_fifo_release() 206 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full() 217 static int vmw_fifo_wait_noirq(struct vmw_private *dev_priv, in vmw_fifo_wait_noirq() 250 static int vmw_fifo_wait(struct vmw_private *dev_priv, in vmw_fifo_wait() 297 static void *vmw_local_fifo_reserve(struct vmw_private *dev_priv, in vmw_local_fifo_reserve() 384 void *vmw_fifo_reserve_dx(struct vmw_private *dev_priv, uint32_t bytes, in vmw_fifo_reserve_dx() [all …]
|
D | vmwgfx_execbuf.c | 90 int (*func) (struct vmw_private *, struct vmw_sw_context *, 101 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, 104 static int vmw_translate_mob_ptr(struct vmw_private *dev_priv, 167 static int vmw_cmd_ctx_first_setup(struct vmw_private *dev_priv, in vmw_cmd_ctx_first_setup() 221 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_val_add() 347 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, in vmw_resource_context_res_add() 470 static int vmw_cmd_invalid(struct vmw_private *dev_priv, in vmw_cmd_invalid() 477 static int vmw_cmd_ok(struct vmw_private *dev_priv, in vmw_cmd_ok() 646 static int vmw_cmd_res_reloc_add(struct vmw_private *dev_priv, in vmw_cmd_res_reloc_add() 687 vmw_cmd_res_check(struct vmw_private *dev_priv, in vmw_cmd_res_check() [all …]
|
D | vmwgfx_resource.c | 107 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release_id() 121 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release() 185 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_alloc_id() 214 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init() 254 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_activate() 262 static struct vmw_resource *vmw_resource_lookup(struct vmw_private *dev_priv, in vmw_resource_lookup() 294 int vmw_user_resource_lookup_handle(struct vmw_private *dev_priv, in vmw_user_resource_lookup_handle() 337 int vmw_user_lookup_handle(struct vmw_private *dev_priv, in vmw_user_lookup_handle() 372 static size_t vmw_dmabuf_acc_size(struct vmw_private *dev_priv, size_t size, in vmw_dmabuf_acc_size() 410 int vmw_dmabuf_init(struct vmw_private *dev_priv, in vmw_dmabuf_init() [all …]
|
D | vmwgfx_shader.c | 154 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init() 198 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_create() 247 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_bind() 278 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_unbind() 318 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_destroy() 365 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_commit_notify() 393 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_unscrub() 433 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_create() 459 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_bind() 483 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_scrub() [all …]
|
D | vmwgfx_drv.c | 309 static int vmw_dummy_query_bo_create(struct vmw_private *dev_priv) in vmw_dummy_query_bo_create() 366 static int vmw_request_device_late(struct vmw_private *dev_priv) in vmw_request_device_late() 393 static int vmw_request_device(struct vmw_private *dev_priv) in vmw_request_device() 442 static void vmw_release_device_early(struct vmw_private *dev_priv) in vmw_release_device_early() 469 static void vmw_release_device_late(struct vmw_private *dev_priv) in vmw_release_device_late() 487 static void vmw_get_initial_size(struct vmw_private *dev_priv) in vmw_get_initial_size() 526 static int vmw_dma_select_mode(struct vmw_private *dev_priv) in vmw_dma_select_mode() 594 static int vmw_dma_masks(struct vmw_private *dev_priv) in vmw_dma_masks() 609 static int vmw_dma_masks(struct vmw_private *dev_priv) in vmw_dma_masks() 617 struct vmw_private *dev_priv; in vmw_driver_load() [all …]
|
D | vmwgfx_kms.c | 49 int vmw_cursor_update_image(struct vmw_private *dev_priv, in vmw_cursor_update_image() 85 int vmw_cursor_update_dmabuf(struct vmw_private *dev_priv, in vmw_cursor_update_dmabuf() 122 void vmw_cursor_update_position(struct vmw_private *dev_priv, in vmw_cursor_update_position() 143 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_set2() 234 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_move() 356 void vmw_kms_legacy_hotspot_clear(struct vmw_private *dev_priv) in vmw_kms_legacy_hotspot_clear() 372 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv) in vmw_kms_cursor_post_execbuf() 424 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_surface_dirty() 486 int vmw_kms_readback(struct vmw_private *dev_priv, in vmw_kms_readback() 515 static int vmw_kms_new_framebuffer_surface(struct vmw_private *dev_priv, in vmw_kms_new_framebuffer_surface() [all …]
|
D | vmwgfx_scrn.c | 119 static void vmw_sou_del_active(struct vmw_private *vmw_priv, in vmw_sou_del_active() 131 static void vmw_sou_add_active(struct vmw_private *vmw_priv, in vmw_sou_add_active() 149 static int vmw_sou_fifo_create(struct vmw_private *dev_priv, in vmw_sou_fifo_create() 203 static int vmw_sou_fifo_destroy(struct vmw_private *dev_priv, in vmw_sou_fifo_destroy() 247 static void vmw_sou_backing_free(struct vmw_private *dev_priv, in vmw_sou_backing_free() 257 static int vmw_sou_backing_alloc(struct vmw_private *dev_priv, in vmw_sou_backing_alloc() 292 struct vmw_private *dev_priv; in vmw_sou_crtc_set_config() 435 static bool vmw_sou_screen_object_flippable(struct vmw_private *dev_priv, in vmw_sou_screen_object_flippable() 453 static void vmw_sou_update_implicit_fb(struct vmw_private *dev_priv, in vmw_sou_update_implicit_fb() 469 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_sou_crtc_page_flip() [all …]
|
D | vmwgfx_so.c | 129 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_commit_notify() 161 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_create() 204 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_destroy() 244 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_view_destroy() 291 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_res_free() 329 struct vmw_private *dev_priv = ctx->dev_priv; in vmw_view_add() 432 void vmw_view_cotable_list_destroy(struct vmw_private *dev_priv, in vmw_view_cotable_list_destroy() 453 void vmw_view_surface_list_destroy(struct vmw_private *dev_priv, in vmw_view_surface_list_destroy()
|
D | vmwgfx_mob.c | 89 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, 107 static int vmw_setup_otable_base(struct vmw_private *dev_priv, in vmw_setup_otable_base() 191 static void vmw_takedown_otable_base(struct vmw_private *dev_priv, in vmw_takedown_otable_base() 237 static int vmw_otable_batch_setup(struct vmw_private *dev_priv, in vmw_otable_batch_setup() 316 int vmw_otables_setup(struct vmw_private *dev_priv) in vmw_otables_setup() 348 static void vmw_otable_batch_takedown(struct vmw_private *dev_priv, in vmw_otable_batch_takedown() 376 void vmw_otables_takedown(struct vmw_private *dev_priv) in vmw_otables_takedown() 430 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, in vmw_mob_pt_populate() 587 void vmw_mob_unbind(struct vmw_private *dev_priv, in vmw_mob_unbind() 637 int vmw_mob_bind(struct vmw_private *dev_priv, in vmw_mob_bind()
|
D | vmwgfx_context.c | 134 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_context_destroy() 173 static int vmw_gb_context_init(struct vmw_private *dev_priv, in vmw_gb_context_init() 234 static int vmw_context_init(struct vmw_private *dev_priv, in vmw_context_init() 294 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_create() 340 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_bind() 370 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_unbind() 436 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_destroy() 470 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_create() 516 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_bind() 587 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_unbind() [all …]
|
D | vmwgfx_gmr.c | 38 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()
|
D | vmwgfx_dmabuf.c | 45 int vmw_dmabuf_pin_in_placement(struct vmw_private *dev_priv, in vmw_dmabuf_pin_in_placement() 94 int vmw_dmabuf_pin_in_vram_or_gmr(struct vmw_private *dev_priv, in vmw_dmabuf_pin_in_vram_or_gmr() 148 int vmw_dmabuf_pin_in_vram(struct vmw_private *dev_priv, in vmw_dmabuf_pin_in_vram() 169 int vmw_dmabuf_pin_in_start_of_vram(struct vmw_private *dev_priv, in vmw_dmabuf_pin_in_start_of_vram() 236 int vmw_dmabuf_unpin(struct vmw_private *dev_priv, in vmw_dmabuf_unpin()
|
D | vmwgfx_ttm_glue.c | 34 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()
|
D | vmwgfx_ldu.c | 74 static int vmw_ldu_commit_list(struct vmw_private *dev_priv) in vmw_ldu_commit_list() 156 static int vmw_ldu_del_active(struct vmw_private *vmw_priv, in vmw_ldu_del_active() 175 static int vmw_ldu_add_active(struct vmw_private *vmw_priv, in vmw_ldu_add_active() 212 struct vmw_private *dev_priv; in vmw_ldu_crtc_set_config() 340 static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) in vmw_ldu_init() 388 int vmw_kms_ldu_init_display(struct vmw_private *dev_priv) in vmw_kms_ldu_init_display() 439 int vmw_kms_ldu_close_display(struct vmw_private *dev_priv) in vmw_kms_ldu_close_display() 456 int vmw_kms_ldu_do_dmabuf_dirty(struct vmw_private *dev_priv, in vmw_kms_ldu_do_dmabuf_dirty()
|
D | vmwgfx_cotable.c | 69 void (*unbind_func)(struct vmw_private *, struct list_head *, 163 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unscrub() 241 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_scrub() 311 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unbind() 344 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_readback() 389 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_resize() 555 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_free() 569 struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv, in vmw_cotable_alloc()
|
D | vmwgfx_ioctl.c | 41 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_getparam_ioctl() 139 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() 178 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_get_cap_3d_ioctl() 249 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_ioctl() 331 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_readback_ioctl() 418 struct vmw_private *dev_priv = in vmw_fops_poll() 441 struct vmw_private *dev_priv = in vmw_fops_read()
|
D | vmwgfx_surface.c | 315 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_surface_destroy() 365 struct vmw_private *dev_priv = res->dev_priv; in vmw_legacy_srf_create() 447 struct vmw_private *dev_priv = res->dev_priv; in vmw_legacy_srf_dma() 529 struct vmw_private *dev_priv = res->dev_priv; in vmw_legacy_srf_destroy() 574 static int vmw_surface_init(struct vmw_private *dev_priv, in vmw_surface_init() 631 struct vmw_private *dev_priv = srf->res.dev_priv; in vmw_user_surface_free() 693 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_surface_define_ioctl() 899 vmw_surface_handle_reference(struct vmw_private *dev_priv, in vmw_surface_handle_reference() 984 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_surface_reference_ioctl() 1033 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_surface_create() [all …]
|
D | vmwgfx_buffer.c | 218 struct vmw_private *dev_priv; 394 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_map_dma() 483 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unmap_dma() 639 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_populate() 666 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unpopulate() 704 vmw_be->dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_tt_create() 783 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve()
|
D | vmwgfx_stdu.c | 195 static int vmw_stdu_define_st(struct vmw_private *dev_priv, in vmw_stdu_define_st() 244 static int vmw_stdu_bind_st(struct vmw_private *dev_priv, in vmw_stdu_bind_st() 322 static int vmw_stdu_update_st(struct vmw_private *dev_priv, in vmw_stdu_update_st() 356 static int vmw_stdu_destroy_st(struct vmw_private *dev_priv, in vmw_stdu_destroy_st() 411 struct vmw_private *dev_priv; in vmw_stdu_crtc_set_config() 649 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_stdu_crtc_page_flip() 843 int vmw_kms_stdu_dma(struct vmw_private *dev_priv, in vmw_kms_stdu_dma() 993 int vmw_kms_stdu_surface_dirty(struct vmw_private *dev_priv, in vmw_kms_stdu_surface_dirty() 1125 static int vmw_stdu_init(struct vmw_private *dev_priv, unsigned unit) in vmw_stdu_init() 1209 int vmw_kms_stdu_init_display(struct vmw_private *dev_priv) in vmw_kms_stdu_init_display() [all …]
|
D | vmwgfx_fb.c | 40 struct vmw_private *vmw_priv; 107 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_check_var() 173 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_dirty_flush() 374 static int vmw_fb_create_bo(struct vmw_private *vmw_priv, in vmw_fb_create_bo() 526 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_set_par() 633 int vmw_fb_init(struct vmw_private *vmw_priv) in vmw_fb_init() 774 int vmw_fb_close(struct vmw_private *vmw_priv) in vmw_fb_close() 798 int vmw_fb_off(struct vmw_private *vmw_priv) in vmw_fb_off() 826 int vmw_fb_on(struct vmw_private *vmw_priv) in vmw_fb_on()
|
D | vmwgfx_so.h | 151 extern void vmw_view_surface_list_destroy(struct vmw_private *dev_priv, 153 extern void vmw_view_cotable_list_destroy(struct vmw_private *dev_priv,
|