Home
last modified time | relevance | path

Searched refs:vmw_bo (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c73 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()
505 struct vmw_buffer_object *vmw_bo, in vmw_bo_init() argument
518 memset(vmw_bo, 0, sizeof(*vmw_bo)); in vmw_bo_init()
520 vmw_bo->base.priority = 3; in vmw_bo_init()
[all …]
Dvmwgfx_fb.c45 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()
535 if (!par->vmw_bo) { in vmw_fb_kms_framebuffer()
[all …]
Dvmwgfx_execbuf.c1163 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()
[all …]
Dvmwgfx_drv.h849 struct vmw_buffer_object *vmw_bo,