/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.h | 61 * struct vmw_bo - TTM buffer object with vmwgfx additions 74 struct vmw_bo { struct 93 void vmw_bo_placement_set(struct vmw_bo *bo, u32 domain, u32 busy_domain); 94 void vmw_bo_placement_set_default_accelerated(struct vmw_bo *bo); 98 struct vmw_bo **p_bo); 104 struct vmw_bo *buf, 107 struct vmw_bo *buf, 110 struct vmw_bo *bo, 112 void vmw_bo_pin_reserved(struct vmw_bo *bo, bool pin); 114 struct vmw_bo *b [all...] |
H A D | vmwgfx_bo.c | 35 static void vmw_bo_release(struct vmw_bo *vbo) in vmw_bo_release() 44 * vmw_bo_free - vmw_bo destructor 50 struct vmw_bo *vbo = to_vmw_bo(&bo->base); in vmw_bo_free() 69 struct vmw_bo *buf, in vmw_bo_pin_in_placement() 106 struct vmw_bo *buf, in vmw_bo_pin_in_vram_or_gmr() 154 struct vmw_bo *buf, in vmw_bo_pin_in_vram() 175 struct vmw_bo *buf, in vmw_bo_pin_in_start_of_vram() 233 struct vmw_bo *buf, in vmw_bo_unpin() 278 void vmw_bo_pin_reserved(struct vmw_bo *vbo, bool pin) in vmw_bo_pin_reserved() 326 void *vmw_bo_map_and_cache(struct vmw_bo *vb 373 vmw_bo_init(struct vmw_private *dev_priv, struct vmw_bo *vmw_bo, struct vmw_bo_params *params, void (*destroy)(struct ttm_buffer_object *)) vmw_bo_init() argument 448 vmw_user_bo_synccpu_grab(struct vmw_bo *vmw_bo, uint32_t flags) vmw_user_bo_synccpu_grab() argument 495 struct vmw_bo *vmw_bo; vmw_user_bo_synccpu_release() local [all...] |
H A D | vmwgfx_kms.h | 233 struct vmw_bo *buffer; 241 struct vmw_bo *buffer; 273 struct vmw_bo *bo; 291 struct vmw_bo *bo; 344 struct vmw_bo *cursor_mobs[3]; 362 struct vmw_bo *cursor_bo; 395 struct vmw_bo *buf; 456 struct vmw_bo *bo,
|
H A D | vmwgfx_page_dirty.c | 82 static void vmw_bo_dirty_scan_pagetable(struct vmw_bo *vbo) in vmw_bo_dirty_scan_pagetable() 120 static void vmw_bo_dirty_scan_mkwrite(struct vmw_bo *vbo) in vmw_bo_dirty_scan_mkwrite() 163 void vmw_bo_dirty_scan(struct vmw_bo *vbo) in vmw_bo_dirty_scan() 184 static void vmw_bo_dirty_pre_unmap(struct vmw_bo *vbo, in vmw_bo_dirty_pre_unmap() 209 void vmw_bo_dirty_unmap(struct vmw_bo *vbo, in vmw_bo_dirty_unmap() 230 int vmw_bo_dirty_add(struct vmw_bo *vbo) in vmw_bo_dirty_add() 287 void vmw_bo_dirty_release(struct vmw_bo *vbo) in vmw_bo_dirty_release() 309 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_transfer_to_res() 356 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_bo_dirty_clear_res() 383 struct vmw_bo *vb in vmw_bo_vm_mkwrite() [all...] |
H A D | vmwgfx_gem.c | 54 struct vmw_bo *vbo = to_vmw_bo(obj); in vmw_gem_pin_private() 116 struct vmw_bo **p_vbo) in vmw_gem_object_create() 132 struct vmw_bo **p_vbo) in vmw_gem_object_create_with_handle() 161 struct vmw_bo *vbo; in vmw_gem_object_create_ioctl() 182 static void vmw_bo_print_info(int id, struct vmw_bo *bo, struct seq_file *m) in vmw_bo_print_info() 265 struct vmw_bo *bo = to_vmw_bo(gobj); in vmw_debugfs_gem_info_show()
|
H A D | vmwgfx_validation.c | 79 struct vmw_bo *new_guest_memory_bo; 175 struct vmw_bo *vbo) in vmw_validation_find_bo_dup() 264 struct vmw_bo *vbo) in vmw_validation_add_bo() 400 struct vmw_bo *vbo, in vmw_validation_res_switch_backup() 441 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_reserve() 515 struct vmw_bo *vbo = to_vmw_bo(&bo->base); in vmw_validation_bo_validate_single() 556 struct vmw_bo *vbo = to_vmw_bo(&entry->base.bo->base); in vmw_validation_bo_validate() 606 struct vmw_bo *backup = res->guest_memory_bo; in vmw_validation_res_validate() 618 struct vmw_bo *vbo = res->guest_memory_bo; in vmw_validation_res_validate() 856 struct vmw_bo *vb in vmw_validation_bo_backoff() [all...] |
H A D | vmwgfx_drv.h | 169 struct vmw_bo; 170 struct vmw_bo; 181 struct vmw_bo *guest_memory_bo; 427 struct vmw_bo *cur_query_bo; 439 struct vmw_bo *dx_query_mob; 473 struct vmw_bo *otable_bo; 613 struct vmw_bo *dummy_query_bo; 614 struct vmw_bo *pinned_bo; 807 struct vmw_bo **out_buf); 827 struct vmw_bo *new_guest_memor [all...] |
H A D | vmwgfx_execbuf.c | 68 struct vmw_bo *vbo; 152 struct vmw_bo **vmw_bo_p); 478 struct vmw_bo *dx_query_mob; in vmw_resource_context_res_add() 603 struct vmw_bo *expected_dx_query_mob; in vmw_resources_reserve() 710 struct vmw_bo *dx_query_mob; in vmw_rebind_all_dx_query() 1024 struct vmw_bo *new_query_bo, in vmw_query_bo_switch_prepare() 1152 struct vmw_bo **vmw_bo_p) in vmw_translate_mob_ptr() 1154 struct vmw_bo *vmw_bo, *tmp_bo; in vmw_translate_mob_ptr() local 1160 ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo); in vmw_translate_mob_ptr() 1210 struct vmw_bo *vmw_bo, *tmp_bo; vmw_translate_guest_ptr() local 1292 struct vmw_bo *vmw_bo; vmw_cmd_dx_bind_query() local 1375 struct vmw_bo *vmw_bo; vmw_cmd_end_gb_query() local 1405 struct vmw_bo *vmw_bo; vmw_cmd_end_query() local 1451 struct vmw_bo *vmw_bo; vmw_cmd_wait_gb_query() local 1479 struct vmw_bo *vmw_bo; vmw_cmd_wait_query() local 1516 struct vmw_bo *vmw_bo = NULL; vmw_cmd_dma() local 1682 struct vmw_bo *vmw_bo; vmw_cmd_check_define_gmrfb() local [all...] |
H A D | vmwgfx_validation.h | 76 struct vmw_bo; 162 struct vmw_bo *vbo); 178 struct vmw_bo *vbo,
|
H A D | vmwgfx_resource.c | 43 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_attach() 71 struct vmw_bo *gbo = res->guest_memory_bo; in vmw_resource_mob_detach() 294 struct vmw_bo **out_buf) in vmw_user_lookup_handle() 326 struct vmw_bo *gbo; in vmw_resource_buf_alloc() 447 struct vmw_bo *new_guest_memory_bo, in vmw_resource_unreserve() 751 void vmw_resource_unbind_list(struct vmw_bo *vbo) in vmw_resource_unbind_list() 784 int vmw_query_readback_all(struct vmw_bo *dx_query_mob) in vmw_query_readback_all() 833 struct vmw_bo *dx_query_mob; in vmw_query_move_notify() 969 struct vmw_bo *vbo = NULL; in vmw_resource_pin() 1030 struct vmw_bo *vb in vmw_resource_unpin() [all...] |
H A D | vmwgfx_overlay.c | 39 struct vmw_bo *buf; 89 struct vmw_bo *buf, in vmw_overlay_send_put() 220 struct vmw_bo *buf, in vmw_overlay_move_buffer() 292 struct vmw_bo *buf, in vmw_overlay_update_stream() 430 struct vmw_bo *buf; in vmw_overlay_ioctl()
|
H A D | vmwgfx_shader.c | 164 struct vmw_bo *byte_code, in vmw_gb_shader_init() 686 struct vmw_bo *buffer, in vmw_user_shader_alloc() 740 struct vmw_bo *buffer, in vmw_shader_alloc() 777 struct vmw_bo *buffer = NULL; in vmw_shader_define() 889 struct vmw_bo *buf; in vmw_compat_shader_add()
|
H A D | vmwgfx_ttm_buffer.c | 578 struct vmw_bo **bo_p) in vmw_bo_create_and_populate() 584 struct vmw_bo *vbo; in vmw_bo_create_and_populate()
|
H A D | vmwgfx_ldu.c | 146 struct vmw_bo *buf; in vmw_ldu_fb_pin() 169 struct vmw_bo *buf; in vmw_ldu_fb_unpin()
|
H A D | vmwgfx_context.c | 42 struct vmw_bo *dx_query_mob; 860 struct vmw_bo *mob) in vmw_context_bind_dx_query() 892 struct vmw_bo *
|
H A D | vmwgfx_scrn.c | 93 struct vmw_bo *buffer; /**< Backing store buffer */ 949 struct vmw_bo *buf = in do_bo_define_gmrfb() 1218 struct vmw_bo *buf = in vmw_kms_sou_do_bo_dirty() 1327 struct vmw_bo *buf = in vmw_kms_sou_readback()
|
H A D | vmwgfx_kms.c | 224 static void vmw_du_destroy_cursor_mob(struct vmw_bo **vbo) in vmw_du_destroy_cursor_mob() 623 struct vmw_bo *vbo = vps->cursor.bo; in vmw_du_cursor_plane_unmap_cm() 1424 struct vmw_bo *bo_mob, in vmw_create_bo_proxy() 1488 struct vmw_bo *bo, in vmw_kms_new_framebuffer_bo() 1576 struct vmw_bo *bo, in vmw_kms_new_framebuffer() 1637 struct vmw_bo *bo = NULL; in vmw_kms_fb_create()
|
H A D | vmwgfx_cotable.c | 404 struct vmw_bo *buf, *old_buf = res->guest_memory_bo; in vmw_cotable_resize()
|
H A D | vmwgfx_mob.c | 54 struct vmw_bo *pt_bo;
|
H A D | vmwgfx_stdu.c | 73 struct vmw_bo *buf; 552 struct vmw_bo *buf = in vmw_kms_stdu_readback()
|
H A D | vmwgfx_cmdbuf.c | 119 struct vmw_bo *cmd_space;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 73 struct vmw_buffer_object *vmw_bo = vmw_buffer_object(bo); in vmw_user_buffer_object() local 75 return container_of(vmw_bo, struct vmw_user_buffer_object, vbo); in vmw_user_buffer_object() 465 struct vmw_buffer_object *vmw_bo = vmw_buffer_object(bo); in vmw_bo_bo_free() local 467 WARN_ON(vmw_bo->dirty); in vmw_bo_bo_free() 468 WARN_ON(!RB_EMPTY_ROOT(&vmw_bo->res_tree)); in vmw_bo_bo_free() 469 vmw_bo_unmap(vmw_bo); in vmw_bo_bo_free() 470 kfree(vmw_bo); in vmw_bo_bo_free() 495 * @vmw_bo: Pointer to the struct vmw_buffer_object to initialize. 505 struct vmw_buffer_object *vmw_bo, in vmw_bo_init() 518 memset(vmw_bo, in vmw_bo_init() 504 vmw_bo_init(struct vmw_private *dev_priv, struct vmw_buffer_object *vmw_bo, size_t size, struct ttm_placement *placement, bool interruptible, void (*bo_free)(struct ttm_buffer_object *bo)) vmw_bo_init() argument [all...] |
H A D | vmwgfx_fb.c | 45 struct vmw_buffer_object *vmw_bo; member 187 struct vmw_buffer_object *vbo = par->vmw_bo; in vmw_fb_dirty_flush() 396 struct vmw_buffer_object *vmw_bo; in vmw_fb_create_bo() local 401 vmw_bo = kmalloc(sizeof(*vmw_bo), GFP_KERNEL); in vmw_fb_create_bo() 402 if (!vmw_bo) { in vmw_fb_create_bo() 407 ret = vmw_bo_init(vmw_priv, vmw_bo, size, in vmw_fb_create_bo() 414 *out = vmw_bo; in vmw_fb_create_bo() 493 if (par->vmw_bo && detach_bo && unref_bo) in vmw_fb_kms_detach() 494 vmw_bo_unreference(&par->vmw_bo); in vmw_fb_kms_detach() [all...] |
H A D | vmwgfx_execbuf.c | 1163 struct vmw_buffer_object *vmw_bo; in vmw_translate_mob_ptr() local 1169 vmw_bo = vmw_user_bo_noref_lookup(sw_context->fp->tfile, handle); in vmw_translate_mob_ptr() 1170 if (IS_ERR(vmw_bo)) { in vmw_translate_mob_ptr() 1172 return PTR_ERR(vmw_bo); in vmw_translate_mob_ptr() 1175 ret = vmw_validation_add_bo(sw_context->ctx, vmw_bo, true, false); in vmw_translate_mob_ptr() 1185 reloc->vbo = vmw_bo; in vmw_translate_mob_ptr() 1187 *vmw_bo_p = vmw_bo; in vmw_translate_mob_ptr() 1218 struct vmw_buffer_object *vmw_bo; in vmw_translate_guest_ptr() local 1224 vmw_bo = vmw_user_bo_noref_lookup(sw_context->fp->tfile, handle); in vmw_translate_guest_ptr() 1225 if (IS_ERR(vmw_bo)) { in vmw_translate_guest_ptr() 1296 struct vmw_buffer_object *vmw_bo; vmw_cmd_dx_bind_query() local 1379 struct vmw_buffer_object *vmw_bo; vmw_cmd_end_gb_query() local 1409 struct vmw_buffer_object *vmw_bo; vmw_cmd_end_query() local 1455 struct vmw_buffer_object *vmw_bo; vmw_cmd_wait_gb_query() local 1483 struct vmw_buffer_object *vmw_bo; vmw_cmd_wait_query() local 1520 struct vmw_buffer_object *vmw_bo = NULL; vmw_cmd_dma() local 1686 struct vmw_buffer_object *vmw_bo; vmw_cmd_check_define_gmrfb() local [all...] |
H A D | vmwgfx_drv.h | 849 struct vmw_buffer_object *vmw_bo,
|