Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c45 struct vmw_dma_buffer *vmw_bo; member
377 struct vmw_dma_buffer *vmw_bo; in vmw_fb_create_bo() local
382 vmw_bo = kmalloc(sizeof(*vmw_bo), GFP_KERNEL); in vmw_fb_create_bo()
383 if (!vmw_bo) { in vmw_fb_create_bo()
388 ret = vmw_dmabuf_init(vmw_priv, vmw_bo, size, in vmw_fb_create_bo()
395 *out = vmw_bo; in vmw_fb_create_bo()
452 if (par->vmw_bo && detach_bo) { in vmw_fb_kms_detach()
458 vmw_dmabuf_unreference(&par->vmw_bo); in vmw_fb_kms_detach()
460 vmw_dmabuf_unpin(par->vmw_priv, par->vmw_bo, false); in vmw_fb_kms_detach()
502 if (!par->vmw_bo) { in vmw_fb_kms_framebuffer()
[all …]
Dvmwgfx_execbuf.c1234 struct vmw_dma_buffer *vmw_bo = NULL; in vmw_translate_mob_ptr() local
1239 ret = vmw_user_dmabuf_lookup(sw_context->fp->tfile, handle, &vmw_bo, in vmw_translate_mob_ptr()
1258 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, true, &reloc->index); in vmw_translate_mob_ptr()
1262 *vmw_bo_p = vmw_bo; in vmw_translate_mob_ptr()
1266 vmw_dmabuf_unreference(&vmw_bo); in vmw_translate_mob_ptr()
1295 struct vmw_dma_buffer *vmw_bo = NULL; in vmw_translate_guest_ptr() local
1300 ret = vmw_user_dmabuf_lookup(sw_context->fp->tfile, handle, &vmw_bo, in vmw_translate_guest_ptr()
1318 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, false, &reloc->index); in vmw_translate_guest_ptr()
1322 *vmw_bo_p = vmw_bo; in vmw_translate_guest_ptr()
1326 vmw_dmabuf_unreference(&vmw_bo); in vmw_translate_guest_ptr()
[all …]
Dvmwgfx_resource.c82 struct vmw_dma_buffer *vmw_bo = vmw_dma_buffer(bo); in vmw_user_dma_buffer() local
83 return container_of(vmw_bo, struct vmw_user_dma_buffer, dma); in vmw_user_dma_buffer()
398 struct vmw_dma_buffer *vmw_bo = vmw_dma_buffer(bo); in vmw_dmabuf_bo_free() local
400 kfree(vmw_bo); in vmw_dmabuf_bo_free()
411 struct vmw_dma_buffer *vmw_bo, in vmw_dmabuf_init() argument
424 memset(vmw_bo, 0, sizeof(*vmw_bo)); in vmw_dmabuf_init()
426 INIT_LIST_HEAD(&vmw_bo->res_list); in vmw_dmabuf_init()
428 ret = ttm_bo_init(bdev, &vmw_bo->base, size, in vmw_dmabuf_init()
Dvmwgfx_drv.h622 struct vmw_dma_buffer *vmw_bo,