/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.h | 172 struct vmw_private *dev_priv; 494 struct vmw_private { struct 662 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument 664 return (struct vmw_private *)dev->dev_private; in vmw_priv() 679 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write() 688 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read() 707 static inline bool has_sm4_context(const struct vmw_private *dev_priv) in has_sm4_context() 718 static inline bool has_sm4_1_context(const struct vmw_private *dev_priv) in has_sm4_1_context() 729 static inline bool has_sm5_context(const struct vmw_private *dev_priv) in has_sm5_context() 734 extern void vmw_svga_enable(struct vmw_private *dev_priv); [all …]
|
D | vmwgfx_kms.h | 123 struct vmw_private *dev_priv; 188 struct vmw_private *dev_priv; 415 int vmw_kms_helper_dirty(struct vmw_private *dev_priv, 424 void vmw_kms_helper_validation_finish(struct vmw_private *dev_priv, 430 int vmw_kms_readback(struct vmw_private *dev_priv, 437 vmw_kms_new_framebuffer(struct vmw_private *dev_priv, 442 int vmw_kms_fbdev_init_data(struct vmw_private *dev_priv, 450 void vmw_kms_update_implicit_fb(struct vmw_private *dev_priv); 451 void vmw_kms_create_implicit_placement_property(struct vmw_private *dev_priv); 495 int vmw_kms_ldu_init_display(struct vmw_private *dev_priv); [all …]
|
D | vmwgfx_irq.c | 48 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_thread_fn() 81 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler() 111 static bool vmw_fifo_idle(struct vmw_private *dev_priv, uint32_t seqno) in vmw_fifo_idle() 117 void vmw_update_seqno(struct vmw_private *dev_priv, in vmw_update_seqno() 130 bool vmw_seqno_passed(struct vmw_private *dev_priv, in vmw_seqno_passed() 159 int vmw_fallback_wait(struct vmw_private *dev_priv, in vmw_fallback_wait() 172 bool (*wait_condition)(struct vmw_private *, uint32_t); in vmw_fallback_wait() 238 void vmw_generic_waiter_add(struct vmw_private *dev_priv, in vmw_generic_waiter_add() 250 void vmw_generic_waiter_remove(struct vmw_private *dev_priv, in vmw_generic_waiter_remove() 261 void vmw_seqno_waiter_add(struct vmw_private *dev_priv) in vmw_seqno_waiter_add() [all …]
|
D | vmwgfx_ttm_glue.c | 43 struct vmw_private *dev_priv = vmw_priv(file_priv->minor->dev); in vmw_mmap() 63 struct vmw_private *dev_priv = container_of(m, struct vmw_private, vvm); in vmw_vmt_reserve() 71 struct vmw_private *dev_priv = container_of(m, struct vmw_private, vvm); in vmw_vmt_unreserve() 85 void vmw_validation_mem_init_ttm(struct vmw_private *dev_priv, size_t gran) in vmw_validation_mem_init_ttm()
|
D | vmwgfx_overlay.c | 58 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay() 94 static int vmw_overlay_send_put(struct vmw_private *dev_priv, in vmw_overlay_send_put() 183 static int vmw_overlay_send_stop(struct vmw_private *dev_priv, in vmw_overlay_send_stop() 225 static int vmw_overlay_move_buffer(struct vmw_private *dev_priv, in vmw_overlay_move_buffer() 250 static int vmw_overlay_stop(struct vmw_private *dev_priv, in vmw_overlay_stop() 297 static int vmw_overlay_update_stream(struct vmw_private *dev_priv, in vmw_overlay_update_stream() 363 int vmw_overlay_resume_all(struct vmw_private *dev_priv) in vmw_overlay_resume_all() 397 int vmw_overlay_pause_all(struct vmw_private *dev_priv) in vmw_overlay_pause_all() 421 static bool vmw_overlay_available(const struct vmw_private *dev_priv) in vmw_overlay_available() 432 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay_ioctl() [all …]
|
D | vmwgfx_execbuf.c | 130 int (*func) (struct vmw_private *, struct vmw_sw_context *, 142 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, 145 static int vmw_translate_mob_ptr(struct vmw_private *dev_priv, 208 static int vmw_cmd_ctx_first_setup(struct vmw_private *dev_priv, in vmw_cmd_ctx_first_setup() 262 static unsigned int vmw_execbuf_res_size(struct vmw_private *dev_priv, in vmw_execbuf_res_size() 303 struct vmw_private *dev_priv = res->dev_priv; in vmw_execbuf_res_noref_val_add() 453 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, in vmw_resource_context_res_add() 585 static int vmw_cmd_invalid(struct vmw_private *dev_priv, in vmw_cmd_invalid() 592 static int vmw_cmd_ok(struct vmw_private *dev_priv, in vmw_cmd_ok() 646 vmw_cmd_res_check(struct vmw_private *dev_priv, in vmw_cmd_res_check() [all …]
|
D | vmwgfx_fifo.c | 39 bool vmw_fifo_have_3d(struct vmw_private *dev_priv) in vmw_fifo_have_3d() 88 bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv) in vmw_fifo_have_pitchlock() 103 int vmw_fifo_init(struct vmw_private *dev_priv, struct vmw_fifo_state *fifo) in vmw_fifo_init() 168 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_streamoutput.c | 93 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_streamoutput_unscrub() 121 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_streamoutput_create() 141 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_streamoutput_bind() 163 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_streamoutput_scrub() 196 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_streamoutput_unbind() 222 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_streamoutput_commit_notify() 257 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_streamoutput_res_free() 286 struct vmw_private *dev_priv = ctx->dev_priv; in vmw_dx_streamoutput_add() 374 void vmw_dx_streamoutput_cotable_list_scrub(struct vmw_private *dev_priv, in vmw_dx_streamoutput_cotable_list_scrub()
|
D | vmwgfx_shader.c | 159 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init() 203 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_create() 250 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() 315 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_destroy() 360 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_commit_notify() 388 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_unscrub() 424 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_create() 450 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_bind() 474 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_scrub() [all …]
|
D | vmwgfx_drv.c | 357 static int vmw_dummy_query_bo_create(struct vmw_private *dev_priv) in vmw_dummy_query_bo_create() 414 static int vmw_request_device_late(struct vmw_private *dev_priv) in vmw_request_device_late() 441 static int vmw_request_device(struct vmw_private *dev_priv) in vmw_request_device() 490 static void vmw_release_device_early(struct vmw_private *dev_priv) in vmw_release_device_early() 517 static void vmw_release_device_late(struct vmw_private *dev_priv) in vmw_release_device_late() 535 static void vmw_get_initial_size(struct vmw_private *dev_priv) in vmw_get_initial_size() 573 static int vmw_dma_select_mode(struct vmw_private *dev_priv) in vmw_dma_select_mode() 608 static int vmw_dma_masks(struct vmw_private *dev_priv) in vmw_dma_masks() 623 static int vmw_vram_manager_init(struct vmw_private *dev_priv) in vmw_vram_manager_init() 636 static void vmw_vram_manager_fini(struct vmw_private *dev_priv) in vmw_vram_manager_fini() [all …]
|
D | vmwgfx_resource.c | 101 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release_id() 115 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release() 182 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_alloc_id() 211 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init() 253 int vmw_user_resource_lookup_handle(struct vmw_private *dev_priv, in vmw_user_resource_lookup_handle() 298 vmw_user_resource_noref_lookup_handle(struct vmw_private *dev_priv, in vmw_user_resource_noref_lookup_handle() 323 int vmw_user_lookup_handle(struct vmw_private *dev_priv, in vmw_user_lookup_handle() 482 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_unreserve() 602 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_reserve() 706 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_validate() [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() 127 int vmw_gmr_bind(struct vmw_private *dev_priv, in vmw_gmr_bind() 146 void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id) in vmw_gmr_unbind()
|
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() 203 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_destroy() 240 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_view_destroy() 287 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_res_free() 326 struct vmw_private *dev_priv = ctx->dev_priv; in vmw_view_add() 433 void vmw_view_cotable_list_destroy(struct vmw_private *dev_priv, in vmw_view_cotable_list_destroy() 454 void vmw_view_surface_list_destroy(struct vmw_private *dev_priv, in vmw_view_surface_list_destroy()
|
D | vmwgfx_mob.c | 91 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, 109 static int vmw_setup_otable_base(struct vmw_private *dev_priv, in vmw_setup_otable_base() 192 static void vmw_takedown_otable_base(struct vmw_private *dev_priv, in vmw_takedown_otable_base() 235 static int vmw_otable_batch_setup(struct vmw_private *dev_priv, in vmw_otable_batch_setup() 296 int vmw_otables_setup(struct vmw_private *dev_priv) in vmw_otables_setup() 327 static void vmw_otable_batch_takedown(struct vmw_private *dev_priv, in vmw_otable_batch_takedown() 356 void vmw_otables_takedown(struct vmw_private *dev_priv) in vmw_otables_takedown() 410 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, in vmw_mob_pt_populate() 543 void vmw_mob_unbind(struct vmw_private *dev_priv, in vmw_mob_unbind() 591 int vmw_mob_bind(struct vmw_private *dev_priv, in vmw_mob_bind()
|
D | vmwgfx_kms.c | 57 static int vmw_cursor_update_image(struct vmw_private *dev_priv, in vmw_cursor_update_image() 91 static int vmw_cursor_update_bo(struct vmw_private *dev_priv, in vmw_cursor_update_bo() 128 static void vmw_cursor_update_position(struct vmw_private *dev_priv, in vmw_cursor_update_position() 238 void vmw_kms_legacy_hotspot_clear(struct vmw_private *dev_priv) in vmw_kms_legacy_hotspot_clear() 254 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv) in vmw_kms_cursor_post_execbuf() 381 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_cursor_plane_atomic_update() 855 int vmw_kms_readback(struct vmw_private *dev_priv, in vmw_kms_readback() 885 static int vmw_kms_new_framebuffer_surface(struct vmw_private *dev_priv, in vmw_kms_new_framebuffer_surface() 999 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_bo_dirty() 1049 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_bo_dirty_ext() [all …]
|
D | vmwgfx_bo.c | 89 int vmw_bo_pin_in_placement(struct vmw_private *dev_priv, in vmw_bo_pin_in_placement() 139 int vmw_bo_pin_in_vram_or_gmr(struct vmw_private *dev_priv, in vmw_bo_pin_in_vram_or_gmr() 193 int vmw_bo_pin_in_vram(struct vmw_private *dev_priv, in vmw_bo_pin_in_vram() 214 int vmw_bo_pin_in_start_of_vram(struct vmw_private *dev_priv, in vmw_bo_pin_in_start_of_vram() 284 int vmw_bo_unpin(struct vmw_private *dev_priv, in vmw_bo_unpin() 432 static size_t vmw_bo_acc_size(struct vmw_private *dev_priv, size_t size, in vmw_bo_acc_size() 504 int vmw_bo_init(struct vmw_private *dev_priv, in vmw_bo_init() 596 int vmw_user_bo_alloc(struct vmw_private *dev_priv, in vmw_user_bo_alloc() 832 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_bo_alloc_ioctl() 1019 struct vmw_private *dev_priv = in vmw_bo_fence_single() [all …]
|
D | vmwgfx_context.c | 119 static void vmw_context_cotables_unref(struct vmw_private *dev_priv, in vmw_context_cotables_unref() 142 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_context_destroy() 178 static int vmw_gb_context_init(struct vmw_private *dev_priv, in vmw_gb_context_init() 239 static int vmw_context_init(struct vmw_private *dev_priv, in vmw_context_init() 298 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_create() 342 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() 434 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_destroy() 465 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_create() 509 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_bind() [all …]
|
D | vmwgfx_ioctl.c | 41 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_getparam_ioctl() 148 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() 187 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_get_cap_3d_ioctl() 258 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_ioctl() 340 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_readback_ioctl() 427 struct vmw_private *dev_priv = in vmw_fops_poll() 450 struct vmw_private *dev_priv = in vmw_fops_read()
|
D | vmwgfx_cotable.c | 70 void (*unbind_func)(struct vmw_private *, struct list_head *, 168 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unscrub() 243 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_scrub() 310 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unbind() 343 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_readback() 386 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_resize() 553 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_free() 567 struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv, in vmw_cotable_alloc()
|
D | vmwgfx_ldu.c | 78 static int vmw_ldu_commit_list(struct vmw_private *dev_priv) in vmw_ldu_commit_list() 140 static int vmw_ldu_del_active(struct vmw_private *vmw_priv, in vmw_ldu_del_active() 159 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() 480 int vmw_kms_ldu_init_display(struct vmw_private *dev_priv) in vmw_kms_ldu_init_display() 529 int vmw_kms_ldu_close_display(struct vmw_private *dev_priv) in vmw_kms_ldu_close_display() 542 int vmw_kms_ldu_do_bo_dirty(struct vmw_private *dev_priv, in vmw_kms_ldu_do_bo_dirty()
|
D | vmwgfx_ttm_buffer.c | 262 struct vmw_private *dev_priv; 423 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_map_dma() 518 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unmap_dma() 653 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_populate() 682 struct vmw_private *dev_priv = vmw_tt->dev_priv; in vmw_ttm_unpopulate() 712 vmw_be->dev_priv = container_of(bo->bdev, struct vmw_private, bdev); in vmw_ttm_tt_create() 744 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve() 809 int vmw_bo_create_and_populate(struct vmw_private *dev_priv, in vmw_bo_create_and_populate()
|
D | vmwgfx_scrn.c | 118 static int vmw_sou_fifo_create(struct vmw_private *dev_priv, in vmw_sou_fifo_create() 166 static int vmw_sou_fifo_destroy(struct vmw_private *dev_priv, in vmw_sou_fifo_destroy() 214 struct vmw_private *dev_priv; in vmw_sou_crtc_mode_set_nofb() 294 struct vmw_private *dev_priv; in vmw_sou_crtc_atomic_disable() 414 struct vmw_private *dev_priv; in vmw_sou_primary_plane_prepare_fb() 540 static int vmw_sou_plane_update_bo(struct vmw_private *dev_priv, in vmw_sou_plane_update_bo() 701 static int vmw_sou_plane_update_surface(struct vmw_private *dev_priv, in vmw_sou_plane_update_surface() 740 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_sou_primary_plane_atomic_update() 829 static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) in vmw_sou_init() 947 int vmw_kms_sou_init_display(struct vmw_private *dev_priv) in vmw_kms_sou_init_display() [all …]
|
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_so.h | 158 extern void vmw_view_surface_list_destroy(struct vmw_private *dev_priv, 160 extern void vmw_view_cotable_list_destroy(struct vmw_private *dev_priv,
|
D | vmwgfx_fence.h | 39 struct vmw_private; 67 vmw_fence_manager_init(struct vmw_private *dev_priv);
|