Searched refs:vmw_bo (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 45 struct vmw_dma_buffer *vmw_bo; member 378 struct vmw_dma_buffer *vmw_bo; in vmw_fb_create_bo() local 383 vmw_bo = kmalloc(sizeof(*vmw_bo), GFP_KERNEL); in vmw_fb_create_bo() 384 if (!vmw_bo) { in vmw_fb_create_bo() 389 ret = vmw_dmabuf_init(vmw_priv, vmw_bo, size, in vmw_fb_create_bo() 396 *out = vmw_bo; in vmw_fb_create_bo() 507 if (par->vmw_bo && detach_bo) { in vmw_fb_kms_detach() 515 vmw_dmabuf_unreference(&par->vmw_bo); in vmw_fb_kms_detach() 517 vmw_dmabuf_unpin(par->vmw_priv, par->vmw_bo, false); in vmw_fb_kms_detach() 559 if (!par->vmw_bo) { in vmw_fb_kms_framebuffer() [all …]
|
D | vmwgfx_execbuf.c | 1287 struct vmw_dma_buffer *vmw_bo = NULL; in vmw_translate_mob_ptr() local 1292 ret = vmw_user_dmabuf_lookup(sw_context->fp->tfile, handle, &vmw_bo, in vmw_translate_mob_ptr() 1311 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, true, &reloc->index); in vmw_translate_mob_ptr() 1315 *vmw_bo_p = vmw_bo; in vmw_translate_mob_ptr() 1319 vmw_dmabuf_unreference(&vmw_bo); in vmw_translate_mob_ptr() 1348 struct vmw_dma_buffer *vmw_bo = NULL; in vmw_translate_guest_ptr() local 1353 ret = vmw_user_dmabuf_lookup(sw_context->fp->tfile, handle, &vmw_bo, in vmw_translate_guest_ptr() 1371 ret = vmw_bo_to_validate_list(sw_context, vmw_bo, false, &reloc->index); in vmw_translate_guest_ptr() 1375 *vmw_bo_p = vmw_bo; in vmw_translate_guest_ptr() 1379 vmw_dmabuf_unreference(&vmw_bo); in vmw_translate_guest_ptr() [all …]
|
D | vmwgfx_resource.c | 57 struct vmw_dma_buffer *vmw_bo = vmw_dma_buffer(bo); in vmw_user_dma_buffer() local 58 return container_of(vmw_bo, struct vmw_user_dma_buffer, dma); in vmw_user_dma_buffer() 355 struct vmw_dma_buffer *vmw_bo = vmw_dma_buffer(bo); in vmw_dmabuf_bo_free() local 357 kfree(vmw_bo); in vmw_dmabuf_bo_free() 368 struct vmw_dma_buffer *vmw_bo, in vmw_dmabuf_init() argument 381 memset(vmw_bo, 0, sizeof(*vmw_bo)); in vmw_dmabuf_init() 383 INIT_LIST_HEAD(&vmw_bo->res_list); in vmw_dmabuf_init() 385 ret = ttm_bo_init(bdev, &vmw_bo->base, size, in vmw_dmabuf_init()
|
D | vmwgfx_drv.h | 632 struct vmw_dma_buffer *vmw_bo,
|