Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/vmwgfx/
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_bo.c74 struct vmw_buffer_object *vmw_bo = vmw_buffer_object(bo); in vmw_user_buffer_object() local
76 return container_of(vmw_bo, struct vmw_user_buffer_object, vbo); in vmw_user_buffer_object()
463 struct vmw_buffer_object *vmw_bo = vmw_buffer_object(bo); in vmw_bo_bo_free() local
465 vmw_bo_unmap(vmw_bo); in vmw_bo_bo_free()
466 kfree(vmw_bo); in vmw_bo_bo_free()
498 struct vmw_buffer_object *vmw_bo, in vmw_bo_init() argument
511 memset(vmw_bo, 0, sizeof(*vmw_bo)); in vmw_bo_init()
513 INIT_LIST_HEAD(&vmw_bo->res_list); in vmw_bo_init()
515 ret = ttm_bo_init(bdev, &vmw_bo->base, size, in vmw_bo_init()
Dvmwgfx_execbuf.c1287 struct vmw_buffer_object *vmw_bo = NULL; in vmw_translate_mob_ptr() local
1292 ret = vmw_user_bo_lookup(sw_context->fp->tfile, handle, &vmw_bo, NULL); in vmw_translate_mob_ptr()
1310 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, true, &reloc->index); in vmw_translate_mob_ptr()
1314 *vmw_bo_p = vmw_bo; in vmw_translate_mob_ptr()
1318 vmw_bo_unreference(&vmw_bo); in vmw_translate_mob_ptr()
1347 struct vmw_buffer_object *vmw_bo = NULL; in vmw_translate_guest_ptr() local
1352 ret = vmw_user_bo_lookup(sw_context->fp->tfile, handle, &vmw_bo, NULL); in vmw_translate_guest_ptr()
1369 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, false, &reloc->index); in vmw_translate_guest_ptr()
1373 *vmw_bo_p = vmw_bo; in vmw_translate_guest_ptr()
1377 vmw_bo_unreference(&vmw_bo); in vmw_translate_guest_ptr()
[all …]
Dvmwgfx_drv.h688 struct vmw_buffer_object *vmw_bo,