/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.h | 117 struct vmw_private *dev_priv; 366 struct vmw_private { struct 564 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument 566 return (struct vmw_private *)dev->dev_private; in vmw_priv() 586 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write() 595 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read() 608 extern void vmw_svga_enable(struct vmw_private *dev_priv); 609 extern void vmw_svga_disable(struct vmw_private *dev_priv); 616 extern int vmw_gmr_bind(struct vmw_private *dev_priv, 620 extern void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id); [all …]
|
D | vmwgfx_kms.h | 72 struct vmw_private *dev_priv; 302 int vmw_kms_helper_dirty(struct vmw_private *dev_priv, 311 int vmw_kms_helper_buffer_prepare(struct vmw_private *dev_priv, 317 void vmw_kms_helper_buffer_finish(struct vmw_private *dev_priv, 329 int vmw_kms_readback(struct vmw_private *dev_priv, 336 vmw_kms_new_framebuffer(struct vmw_private *dev_priv, 341 int vmw_kms_fbdev_init_data(struct vmw_private *dev_priv, 349 void vmw_kms_del_active(struct vmw_private *dev_priv, 351 void vmw_kms_add_active(struct vmw_private *dev_priv, 354 bool vmw_kms_crtc_flippable(struct vmw_private *dev_priv, [all …]
|
D | vmwgfx_irq.c | 47 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_thread_fn() 80 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler() 110 static bool vmw_fifo_idle(struct vmw_private *dev_priv, uint32_t seqno) in vmw_fifo_idle() 116 void vmw_update_seqno(struct vmw_private *dev_priv, in vmw_update_seqno() 129 bool vmw_seqno_passed(struct vmw_private *dev_priv, in vmw_seqno_passed() 158 int vmw_fallback_wait(struct vmw_private *dev_priv, in vmw_fallback_wait() 171 bool (*wait_condition)(struct vmw_private *, uint32_t); in vmw_fallback_wait() 237 void vmw_generic_waiter_add(struct vmw_private *dev_priv, in vmw_generic_waiter_add() 249 void vmw_generic_waiter_remove(struct vmw_private *dev_priv, in vmw_generic_waiter_remove() 260 void vmw_seqno_waiter_add(struct vmw_private *dev_priv) in vmw_seqno_waiter_add() [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 | 111 int (*func) (struct vmw_private *, struct vmw_sw_context *, 123 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, 126 static int vmw_translate_mob_ptr(struct vmw_private *dev_priv, 200 static int vmw_cmd_ctx_first_setup(struct vmw_private *dev_priv, in vmw_cmd_ctx_first_setup() 254 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_val_add() 380 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, in vmw_resource_context_res_add() 520 static int vmw_cmd_invalid(struct vmw_private *dev_priv, in vmw_cmd_invalid() 527 static int vmw_cmd_ok(struct vmw_private *dev_priv, in vmw_cmd_ok() 696 static int vmw_cmd_res_reloc_add(struct vmw_private *dev_priv, in vmw_cmd_res_reloc_add() 739 vmw_cmd_res_check(struct vmw_private *dev_priv, in vmw_cmd_res_check() [all …]
|
D | vmwgfx_resource.c | 58 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release_id() 72 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release() 136 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_alloc_id() 165 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init() 205 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_activate() 227 int vmw_user_resource_lookup_handle(struct vmw_private *dev_priv, in vmw_user_resource_lookup_handle() 270 int vmw_user_lookup_handle(struct vmw_private *dev_priv, in vmw_user_lookup_handle() 399 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_unreserve() 504 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_reserve() 602 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_validate() [all …]
|
D | vmwgfx_shader.c | 155 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init() 199 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_create() 248 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_bind() 279 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_unbind() 319 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_destroy() 366 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_commit_notify() 394 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_unscrub() 434 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_create() 460 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_bind() 484 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_scrub() [all …]
|
D | vmwgfx_kms.c | 52 static int vmw_cursor_update_image(struct vmw_private *dev_priv, in vmw_cursor_update_image() 88 static int vmw_cursor_update_bo(struct vmw_private *dev_priv, in vmw_cursor_update_bo() 125 static void vmw_cursor_update_position(struct vmw_private *dev_priv, in vmw_cursor_update_position() 234 void vmw_kms_legacy_hotspot_clear(struct vmw_private *dev_priv) in vmw_kms_legacy_hotspot_clear() 250 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv) in vmw_kms_cursor_post_execbuf() 377 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_cursor_plane_atomic_update() 459 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_primary_plane_atomic_check() 857 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_surface_dirty() 919 int vmw_kms_readback(struct vmw_private *dev_priv, in vmw_kms_readback() 949 static int vmw_kms_new_framebuffer_surface(struct vmw_private *dev_priv, in vmw_kms_new_framebuffer_surface() [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() 436 void vmw_view_cotable_list_destroy(struct vmw_private *dev_priv, in vmw_view_cotable_list_destroy() 457 void vmw_view_surface_list_destroy(struct vmw_private *dev_priv, in vmw_view_surface_list_destroy()
|
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_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_drv.c | 342 static int vmw_dummy_query_bo_create(struct vmw_private *dev_priv) in vmw_dummy_query_bo_create() 399 static int vmw_request_device_late(struct vmw_private *dev_priv) in vmw_request_device_late() 426 static int vmw_request_device(struct vmw_private *dev_priv) in vmw_request_device() 475 static void vmw_release_device_early(struct vmw_private *dev_priv) in vmw_release_device_early() 502 static void vmw_release_device_late(struct vmw_private *dev_priv) in vmw_release_device_late() 520 static void vmw_get_initial_size(struct vmw_private *dev_priv) in vmw_get_initial_size() 559 static int vmw_dma_select_mode(struct vmw_private *dev_priv) in vmw_dma_select_mode() 627 static int vmw_dma_masks(struct vmw_private *dev_priv) in vmw_dma_masks() 639 static int vmw_dma_masks(struct vmw_private *dev_priv) in vmw_dma_masks() 647 struct vmw_private *dev_priv; in vmw_driver_load() [all …]
|
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() 319 int vmw_otables_setup(struct vmw_private *dev_priv) in vmw_otables_setup() 350 static void vmw_otable_batch_takedown(struct vmw_private *dev_priv, in vmw_otable_batch_takedown() 378 void vmw_otables_takedown(struct vmw_private *dev_priv) in vmw_otables_takedown() 432 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, in vmw_mob_pt_populate() 594 void vmw_mob_unbind(struct vmw_private *dev_priv, in vmw_mob_unbind() 644 int vmw_mob_bind(struct vmw_private *dev_priv, in vmw_mob_bind()
|
D | vmwgfx_bo.c | 90 int vmw_bo_pin_in_placement(struct vmw_private *dev_priv, in vmw_bo_pin_in_placement() 140 int vmw_bo_pin_in_vram_or_gmr(struct vmw_private *dev_priv, in vmw_bo_pin_in_vram_or_gmr() 194 int vmw_bo_pin_in_vram(struct vmw_private *dev_priv, in vmw_bo_pin_in_vram() 215 int vmw_bo_pin_in_start_of_vram(struct vmw_private *dev_priv, in vmw_bo_pin_in_start_of_vram() 285 int vmw_bo_unpin(struct vmw_private *dev_priv, in vmw_bo_unpin() 431 static size_t vmw_bo_acc_size(struct vmw_private *dev_priv, size_t size, in vmw_bo_acc_size() 497 int vmw_bo_init(struct vmw_private *dev_priv, in vmw_bo_init() 590 int vmw_user_bo_alloc(struct vmw_private *dev_priv, in vmw_user_bo_alloc() 820 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_bo_alloc_ioctl() 966 struct vmw_private *dev_priv = in vmw_bo_fence_single() [all …]
|
D | vmwgfx_context.c | 135 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_context_destroy() 174 static int vmw_gb_context_init(struct vmw_private *dev_priv, in vmw_gb_context_init() 235 static int vmw_context_init(struct vmw_private *dev_priv, in vmw_context_init() 295 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_create() 341 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_bind() 371 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_unbind() 437 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_destroy() 471 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_create() 517 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_bind() 588 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_unbind() [all …]
|
D | vmwgfx_ioctl.c | 41 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_getparam_ioctl() 142 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() 181 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_get_cap_3d_ioctl() 252 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_ioctl() 334 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_readback_ioctl() 421 struct vmw_private *dev_priv = in vmw_fops_poll() 444 struct vmw_private *dev_priv = in vmw_fops_read()
|
D | vmwgfx_cotable.c | 70 void (*unbind_func)(struct vmw_private *, struct list_head *, 164 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unscrub() 242 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_scrub() 312 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unbind() 345 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_readback() 391 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_resize() 557 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_free() 571 struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv, in vmw_cotable_alloc()
|
D | vmwgfx_ldu.c | 76 static int vmw_ldu_commit_list(struct vmw_private *dev_priv) in vmw_ldu_commit_list() 139 static int vmw_ldu_del_active(struct vmw_private *vmw_priv, in vmw_ldu_del_active() 158 static int vmw_ldu_add_active(struct vmw_private *vmw_priv, in vmw_ldu_add_active() 288 struct vmw_private *dev_priv; in vmw_ldu_primary_plane_atomic_update() 355 static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) in vmw_ldu_init() 490 int vmw_kms_ldu_init_display(struct vmw_private *dev_priv) in vmw_kms_ldu_init_display() 537 int vmw_kms_ldu_close_display(struct vmw_private *dev_priv) in vmw_kms_ldu_close_display() 550 int vmw_kms_ldu_do_bo_dirty(struct vmw_private *dev_priv, in vmw_kms_ldu_do_bo_dirty()
|
D | vmwgfx_scrn.c | 110 static int vmw_sou_fifo_create(struct vmw_private *dev_priv, in vmw_sou_fifo_create() 161 static int vmw_sou_fifo_destroy(struct vmw_private *dev_priv, in vmw_sou_fifo_destroy() 212 struct vmw_private *dev_priv; in vmw_sou_crtc_mode_set_nofb() 300 struct vmw_private *dev_priv; in vmw_sou_crtc_atomic_disable() 326 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_sou_crtc_page_flip() 445 struct vmw_private *dev_priv; in vmw_sou_primary_plane_prepare_fb() 513 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_sou_primary_plane_atomic_update() 622 static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) in vmw_sou_init() 755 int vmw_kms_sou_init_display(struct vmw_private *dev_priv) in vmw_kms_sou_init_display() 786 static int do_bo_define_gmrfb(struct vmw_private *dev_priv, in do_bo_define_gmrfb() [all …]
|
D | vmwgfx_stdu.c | 156 static int vmw_stdu_define_st(struct vmw_private *dev_priv, in vmw_stdu_define_st() 207 static int vmw_stdu_bind_st(struct vmw_private *dev_priv, in vmw_stdu_bind_st() 285 static int vmw_stdu_update_st(struct vmw_private *dev_priv, in vmw_stdu_update_st() 319 static int vmw_stdu_destroy_st(struct vmw_private *dev_priv, in vmw_stdu_destroy_st() 371 struct vmw_private *dev_priv; in vmw_stdu_crtc_mode_set_nofb() 425 struct vmw_private *dev_priv; in vmw_stdu_crtc_atomic_enable() 446 struct vmw_private *dev_priv; in vmw_stdu_crtc_atomic_disable() 500 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_stdu_crtc_page_flip() 684 struct vmw_private *dev_priv; in vmw_stdu_bo_cpu_commit() 745 int vmw_kms_stdu_dma(struct vmw_private *dev_priv, in vmw_kms_stdu_dma() [all …]
|
D | vmwgfx_ttm_buffer.c | 241 struct vmw_private *dev_priv; 417 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_map_dma() 509 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unmap_dma() 665 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_populate() 693 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unpopulate() 730 vmw_be->dev_priv = container_of(bo->bdev, struct vmw_private, bdev); in vmw_ttm_tt_create() 807 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve()
|
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,
|
D | vmwgfx_simple_resource.c | 62 static int vmw_simple_resource_init(struct vmw_private *dev_priv, in vmw_simple_resource_init() 101 struct vmw_private *dev_priv = res->dev_priv; in vmw_simple_resource_free() 147 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_simple_resource_create_ioctl()
|
D | vmwgfx_binding.h | 35 struct vmw_private; 203 vmw_binding_state_alloc(struct vmw_private *dev_priv);
|