/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.h | 174 struct vmw_private *dev_priv; 365 struct vmw_private *dev_priv; 500 struct vmw_private { struct 663 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument 665 return (struct vmw_private *)dev->dev_private; in vmw_priv() 668 static inline struct vmw_private *vmw_priv_from_ttm(struct ttm_device *bdev) in vmw_priv_from_ttm() 670 return container_of(bdev, struct vmw_private, bdev); in vmw_priv_from_ttm() 681 static inline bool vmw_is_svga_v3(const struct vmw_private *dev) in vmw_is_svga_v3() 693 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write() 706 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read() [all …]
|
D | vmwgfx_irq.c | 35 static u32 vmw_irqflag_fence_goal(struct vmw_private *vmw) in vmw_irqflag_fence_goal() 57 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_thread_fn() 90 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler() 120 static bool vmw_fifo_idle(struct vmw_private *dev_priv, uint32_t seqno) in vmw_fifo_idle() 126 void vmw_update_seqno(struct vmw_private *dev_priv) in vmw_update_seqno() 136 bool vmw_seqno_passed(struct vmw_private *dev_priv, in vmw_seqno_passed() 162 int vmw_fallback_wait(struct vmw_private *dev_priv, in vmw_fallback_wait() 176 bool (*wait_condition)(struct vmw_private *, uint32_t); in vmw_fallback_wait() 242 void vmw_generic_waiter_add(struct vmw_private *dev_priv, in vmw_generic_waiter_add() 254 void vmw_generic_waiter_remove(struct vmw_private *dev_priv, in vmw_generic_waiter_remove() [all …]
|
D | vmwgfx_kms.h | 124 struct vmw_private *dev_priv; 188 struct vmw_private *dev_priv; 433 int vmw_kms_helper_dirty(struct vmw_private *dev_priv, 442 void vmw_kms_helper_validation_finish(struct vmw_private *dev_priv, 448 int vmw_kms_readback(struct vmw_private *dev_priv, 455 vmw_kms_new_framebuffer(struct vmw_private *dev_priv, 461 void vmw_kms_update_implicit_fb(struct vmw_private *dev_priv); 462 void vmw_kms_create_implicit_placement_property(struct vmw_private *dev_priv); 508 int vmw_kms_ldu_init_display(struct vmw_private *dev_priv); 509 int vmw_kms_ldu_close_display(struct vmw_private *dev_priv); [all …]
|
D | vmwgfx_devcaps.h | 35 int vmw_devcaps_create(struct vmw_private *vmw); 36 void vmw_devcaps_destroy(struct vmw_private *vmw); 37 uint32_t vmw_devcaps_size(const struct vmw_private *vmw, bool gb_aware); 38 int vmw_devcaps_copy(struct vmw_private *vmw, bool gb_aware, 41 static inline uint32_t vmw_devcap_get(struct vmw_private *vmw, in vmw_devcap_get()
|
D | vmwgfx_cmd.c | 35 bool vmw_supports_3d(struct vmw_private *dev_priv) in vmw_supports_3d() 82 bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv) in vmw_fifo_have_pitchlock() 96 struct vmw_fifo_state *vmw_fifo_create(struct vmw_private *dev_priv) in vmw_fifo_create() 158 void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason) in vmw_fifo_ping_host() 166 void vmw_fifo_destroy(struct vmw_private *dev_priv) in vmw_fifo_destroy() 186 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full() 196 static int vmw_fifo_wait_noirq(struct vmw_private *dev_priv, in vmw_fifo_wait_noirq() 229 static int vmw_fifo_wait(struct vmw_private *dev_priv, in vmw_fifo_wait() 276 static void *vmw_local_fifo_reserve(struct vmw_private *dev_priv, in vmw_local_fifo_reserve() 364 void *vmw_cmd_ctx_reserve(struct vmw_private *dev_priv, uint32_t bytes, in vmw_cmd_ctx_reserve() [all …]
|
D | vmwgfx_execbuf.c | 134 int (*func) (struct vmw_private *, struct vmw_sw_context *, 146 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, 149 static int vmw_translate_mob_ptr(struct vmw_private *dev_priv, 213 static int vmw_cmd_ctx_first_setup(struct vmw_private *dev_priv, in vmw_cmd_ctx_first_setup() 267 static unsigned int vmw_execbuf_res_size(struct vmw_private *dev_priv, in vmw_execbuf_res_size() 314 struct vmw_private *dev_priv = res->dev_priv; in vmw_execbuf_res_val_add() 433 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, in vmw_resource_context_res_add() 570 static int vmw_cmd_invalid(struct vmw_private *dev_priv, in vmw_cmd_invalid() 577 static int vmw_cmd_ok(struct vmw_private *dev_priv, in vmw_cmd_ok() 631 vmw_cmd_res_check(struct vmw_private *dev_priv, in vmw_cmd_res_check() [all …]
|
D | vmwgfx_overlay.c | 88 static int vmw_overlay_send_put(struct vmw_private *dev_priv, in vmw_overlay_send_put() 177 static int vmw_overlay_send_stop(struct vmw_private *dev_priv, in vmw_overlay_send_stop() 219 static int vmw_overlay_move_buffer(struct vmw_private *dev_priv, in vmw_overlay_move_buffer() 244 static int vmw_overlay_stop(struct vmw_private *dev_priv, in vmw_overlay_stop() 291 static int vmw_overlay_update_stream(struct vmw_private *dev_priv, in vmw_overlay_update_stream() 357 int vmw_overlay_resume_all(struct vmw_private *dev_priv) in vmw_overlay_resume_all() 391 int vmw_overlay_pause_all(struct vmw_private *dev_priv) in vmw_overlay_pause_all() 415 static bool vmw_overlay_available(const struct vmw_private *dev_priv) in vmw_overlay_available() 426 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay_ioctl() 463 int vmw_overlay_num_overlays(struct vmw_private *dev_priv) in vmw_overlay_num_overlays() [all …]
|
D | vmwgfx_drv.c | 362 static void vmw_print_sm_type(struct vmw_private *dev_priv) in vmw_print_sm_type() 390 static int vmw_dummy_query_bo_create(struct vmw_private *dev_priv) in vmw_dummy_query_bo_create() 438 static int vmw_device_init(struct vmw_private *dev_priv) in vmw_device_init() 467 static void vmw_device_fini(struct vmw_private *vmw) in vmw_device_fini() 498 static int vmw_request_device_late(struct vmw_private *dev_priv) in vmw_request_device_late() 524 static int vmw_request_device(struct vmw_private *dev_priv) in vmw_request_device() 576 static void vmw_release_device_early(struct vmw_private *dev_priv) in vmw_release_device_early() 606 static void vmw_release_device_late(struct vmw_private *dev_priv) in vmw_release_device_late() 624 static void vmw_get_initial_size(struct vmw_private *dev_priv) in vmw_get_initial_size() 662 static int vmw_dma_select_mode(struct vmw_private *dev_priv) in vmw_dma_select_mode() [all …]
|
D | vmwgfx_bo.h | 41 struct vmw_private; 96 int vmw_bo_create(struct vmw_private *dev_priv, 103 int vmw_bo_pin_in_vram(struct vmw_private *dev_priv, 106 int vmw_bo_pin_in_vram_or_gmr(struct vmw_private *dev_priv, 109 int vmw_bo_pin_in_start_of_vram(struct vmw_private *vmw_priv, 113 int vmw_bo_unpin(struct vmw_private *vmw_priv,
|
D | vmwgfx_devcaps.c | 55 static int vmw_fill_compat_cap(struct vmw_private *dev_priv, void *bounce, in vmw_fill_compat_cap() 85 int vmw_devcaps_create(struct vmw_private *vmw) in vmw_devcaps_create() 102 void vmw_devcaps_destroy(struct vmw_private *vmw) in vmw_devcaps_destroy() 109 uint32 vmw_devcaps_size(const struct vmw_private *vmw, in vmw_devcaps_size() 125 int vmw_devcaps_copy(struct vmw_private *vmw, bool gb_aware, in vmw_devcaps_copy()
|
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() 284 struct vmw_private *dev_priv = ctx->dev_priv; in vmw_dx_streamoutput_add() 355 void vmw_dx_streamoutput_cotable_list_scrub(struct vmw_private *dev_priv, in vmw_dx_streamoutput_cotable_list_scrub()
|
D | vmwgfx_shader.c | 157 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init() 201 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() 276 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_unbind() 313 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_shader_destroy() 358 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_commit_notify() 386 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_unscrub() 422 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_create() 448 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_bind() 472 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_shader_scrub() [all …]
|
D | vmwgfx_gem.c | 114 int vmw_gem_object_create(struct vmw_private *vmw, in vmw_gem_object_create() 128 int vmw_gem_object_create_with_handle(struct vmw_private *dev_priv, in vmw_gem_object_create_with_handle() 156 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_gem_object_create_ioctl() 235 struct vmw_private *vdev = (struct vmw_private *)m->private; in vmw_debugfs_gem_info_show() 278 void vmw_debugfs_gem_init(struct vmw_private *vdev) in vmw_debugfs_gem_init()
|
D | vmwgfx_gmr.c | 37 static int vmw_gmr2_bind(struct vmw_private *dev_priv, in vmw_gmr2_bind() 105 static void vmw_gmr2_unbind(struct vmw_private *dev_priv, in vmw_gmr2_unbind() 126 int vmw_gmr_bind(struct vmw_private *dev_priv, in vmw_gmr_bind() 145 void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id) in vmw_gmr_unbind()
|
D | vmwgfx_ldu.c | 78 static int vmw_ldu_commit_list(struct vmw_private *dev_priv) in vmw_ldu_commit_list() 145 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_ldu_fb_pin() 168 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_ldu_fb_unpin() 180 static int vmw_ldu_del_active(struct vmw_private *vmw_priv, in vmw_ldu_del_active() 198 static int vmw_ldu_add_active(struct vmw_private *vmw_priv, in vmw_ldu_add_active() 318 static int vmw_kms_ldu_do_bo_dirty(struct vmw_private *dev_priv, 336 struct vmw_private *dev_priv; in vmw_ldu_primary_plane_atomic_update() 425 static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) in vmw_ldu_init() 556 int vmw_kms_ldu_init_display(struct vmw_private *dev_priv) in vmw_kms_ldu_init_display() 596 int vmw_kms_ldu_close_display(struct vmw_private *dev_priv) in vmw_kms_ldu_close_display() [all …]
|
D | vmwgfx_mob.c | 86 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, 114 static int vmw_setup_otable_base(struct vmw_private *dev_priv, in vmw_setup_otable_base() 194 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() 301 int vmw_otables_setup(struct vmw_private *dev_priv) in vmw_otables_setup() 332 static void vmw_otable_batch_takedown(struct vmw_private *dev_priv, in vmw_otable_batch_takedown() 361 void vmw_otables_takedown(struct vmw_private *dev_priv) in vmw_otables_takedown() 414 static int vmw_mob_pt_populate(struct vmw_private *dev_priv, in vmw_mob_pt_populate() 551 void vmw_mob_unbind(struct vmw_private *dev_priv, in vmw_mob_unbind() 599 int vmw_mob_bind(struct vmw_private *dev_priv, in vmw_mob_bind()
|
D | vmwgfx_bo.c | 68 static int vmw_bo_pin_in_placement(struct vmw_private *dev_priv, in vmw_bo_pin_in_placement() 105 int vmw_bo_pin_in_vram_or_gmr(struct vmw_private *dev_priv, in vmw_bo_pin_in_vram_or_gmr() 153 int vmw_bo_pin_in_vram(struct vmw_private *dev_priv, in vmw_bo_pin_in_vram() 174 int vmw_bo_pin_in_start_of_vram(struct vmw_private *dev_priv, in vmw_bo_pin_in_start_of_vram() 232 int vmw_bo_unpin(struct vmw_private *dev_priv, in vmw_bo_unpin() 373 static int vmw_bo_init(struct vmw_private *dev_priv, in vmw_bo_init() 409 int vmw_bo_create(struct vmw_private *vmw, in vmw_bo_create() 637 struct vmw_private *dev_priv = vmw_priv_from_ttm(bdev); in vmw_bo_fence_single() 672 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_dumb_create() 803 struct vmw_private *vmw = vmw_priv_from_ttm(bdev); in vmw_bo_placement_set() [all …]
|
D | vmwgfx_resource.c | 102 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release_id() 116 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() 213 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init() 255 int vmw_user_resource_lookup_handle(struct vmw_private *dev_priv, in vmw_user_resource_lookup_handle() 290 int vmw_user_lookup_handle(struct vmw_private *dev_priv, in vmw_user_lookup_handle() 450 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_unreserve() 573 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_reserve() 677 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_validate() 787 struct vmw_private *dev_priv; in vmw_query_readback_all() [all …]
|
D | vmwgfx_context.c | 121 static void vmw_context_cotables_unref(struct vmw_private *dev_priv, in vmw_context_cotables_unref() 144 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_context_destroy() 180 static int vmw_gb_context_init(struct vmw_private *dev_priv, in vmw_gb_context_init() 241 static int vmw_context_init(struct vmw_private *dev_priv, in vmw_context_init() 300 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_create() 344 struct vmw_private *dev_priv = res->dev_priv; in vmw_gb_context_bind() 372 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() 467 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_create() 511 struct vmw_private *dev_priv = res->dev_priv; in vmw_dx_context_bind() [all …]
|
D | vmwgfx_so.c | 132 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_commit_notify() 164 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_create() 206 struct vmw_private *dev_priv = res->dev_priv; in vmw_view_destroy() 243 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_view_destroy() 326 struct vmw_private *dev_priv = ctx->dev_priv; in vmw_view_add() 421 void vmw_view_cotable_list_destroy(struct vmw_private *dev_priv, in vmw_view_cotable_list_destroy() 442 void vmw_view_surface_list_destroy(struct vmw_private *dev_priv, in vmw_view_surface_list_destroy()
|
D | vmwgfx_ttm_glue.c | 36 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_bo_vm_lookup() 80 struct vmw_private *dev_priv = vmw_priv(file_priv->minor->dev); in vmw_mmap()
|
D | vmwgfx_kms.c | 41 struct vmw_private *dev_priv = vmw_priv(du->primary.dev); in vmw_du_cleanup() 57 static void vmw_cursor_update_mob(struct vmw_private *dev_priv, 76 static void vmw_send_define_cursor_cmd(struct vmw_private *dev_priv, in vmw_send_define_cursor_cmd() 118 static void vmw_cursor_update_image(struct vmw_private *dev_priv, in vmw_cursor_update_image() 148 static void vmw_cursor_update_mob(struct vmw_private *dev_priv, in vmw_cursor_update_mob() 271 struct vmw_private *dev_priv = vcp->base.dev->dev_private; in vmw_du_get_cursor_mob() 326 static void vmw_cursor_update_position(struct vmw_private *dev_priv, in vmw_cursor_update_position() 452 void vmw_kms_legacy_hotspot_clear(struct vmw_private *dev_priv) in vmw_kms_legacy_hotspot_clear() 468 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv) in vmw_kms_cursor_post_execbuf() 765 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_cursor_plane_atomic_update() [all …]
|
D | vmwgfx_cotable.c | 73 void (*unbind_func)(struct vmw_private *, struct list_head *, 184 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unscrub() 259 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_scrub() 326 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_unbind() 359 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_readback() 402 struct vmw_private *dev_priv = res->dev_priv; in vmw_cotable_resize() 599 struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv, in vmw_cotable_alloc()
|
D | vmwgfx_system_manager.c | 60 int vmw_sys_man_init(struct vmw_private *dev_priv) in vmw_sys_man_init() 78 void vmw_sys_man_fini(struct vmw_private *dev_priv) in vmw_sys_man_fini()
|
D | vmwgfx_scrn.c | 117 static int vmw_sou_fifo_create(struct vmw_private *dev_priv, in vmw_sou_fifo_create() 165 static int vmw_sou_fifo_destroy(struct vmw_private *dev_priv, in vmw_sou_fifo_destroy() 213 struct vmw_private *dev_priv; in vmw_sou_crtc_mode_set_nofb() 295 struct vmw_private *dev_priv; in vmw_sou_crtc_atomic_disable() 412 struct vmw_private *dev_priv; in vmw_sou_primary_plane_prepare_fb() 534 static int vmw_sou_plane_update_bo(struct vmw_private *dev_priv, in vmw_sou_plane_update_bo() 694 static int vmw_sou_plane_update_surface(struct vmw_private *dev_priv, in vmw_sou_plane_update_surface() 733 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_sou_primary_plane_atomic_update() 804 static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) in vmw_sou_init() 923 int vmw_kms_sou_init_display(struct vmw_private *dev_priv) in vmw_kms_sou_init_display() [all …]
|