Searched refs:vmw_bo (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.c | 387 struct vmw_buffer_object *vmw_bo = vmw_buffer_object(bo); in vmw_bo_bo_free() local 389 WARN_ON(vmw_bo->dirty); in vmw_bo_bo_free() 390 WARN_ON(!RB_EMPTY_ROOT(&vmw_bo->res_tree)); in vmw_bo_bo_free() 391 vmw_bo_unmap(vmw_bo); in vmw_bo_bo_free() 393 kfree(vmw_bo); in vmw_bo_bo_free() 493 struct vmw_buffer_object *vmw_bo, in vmw_bo_init() argument 507 memset(vmw_bo, 0, sizeof(*vmw_bo)); in vmw_bo_init() 509 vmw_bo->base.priority = 3; in vmw_bo_init() 510 vmw_bo->res_tree = RB_ROOT; in vmw_bo_init() 513 drm_gem_private_object_init(vdev, &vmw_bo->base.base, size); in vmw_bo_init() [all …]
|
D | vmwgfx_fb.c | 46 struct vmw_buffer_object *vmw_bo; member 188 struct vmw_buffer_object *vbo = par->vmw_bo; in vmw_fb_dirty_flush() 394 struct vmw_buffer_object *vmw_bo; in vmw_fb_create_bo() local 400 &vmw_bo_bo_free, &vmw_bo); in vmw_fb_create_bo() 404 *out = vmw_bo; in vmw_fb_create_bo() 478 if (par->vmw_bo && detach_bo && unref_bo) in vmw_fb_kms_detach() 479 vmw_bo_unreference(&par->vmw_bo); in vmw_fb_kms_detach() 520 if (!par->vmw_bo) { in vmw_fb_kms_framebuffer() 522 &par->vmw_bo); in vmw_fb_kms_framebuffer() 531 vfb = vmw_kms_new_framebuffer(par->vmw_priv, par->vmw_bo, NULL, in vmw_fb_kms_framebuffer()
|
D | vmwgfx_execbuf.c | 1150 struct vmw_buffer_object *vmw_bo; in vmw_translate_mob_ptr() local 1156 ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo); in vmw_translate_mob_ptr() 1159 return PTR_ERR(vmw_bo); in vmw_translate_mob_ptr() 1161 ret = vmw_validation_add_bo(sw_context->ctx, vmw_bo, true, false); in vmw_translate_mob_ptr() 1162 ttm_bo_put(&vmw_bo->base); in vmw_translate_mob_ptr() 1171 reloc->vbo = vmw_bo; in vmw_translate_mob_ptr() 1173 *vmw_bo_p = vmw_bo; in vmw_translate_mob_ptr() 1204 struct vmw_buffer_object *vmw_bo; in vmw_translate_guest_ptr() local 1210 ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo); in vmw_translate_guest_ptr() 1213 return PTR_ERR(vmw_bo); in vmw_translate_guest_ptr() [all …]
|
D | vmwgfx_drv.h | 901 struct vmw_buffer_object *vmw_bo,
|