Lines Matching refs:dmabuf
124 struct vmw_dma_buffer *dmabuf,
138 ret = ttm_bo_reserve(&dmabuf->base, true, false, false, 0);
144 ret = ttm_bo_kmap(&dmabuf->base, kmap_offset, kmap_num, &map);
154 ttm_bo_unreserve(&dmabuf->base);
180 struct vmw_dma_buffer *dmabuf = NULL;
189 handle, &surface, &dmabuf);
191 DRM_ERROR("failed to find surface or dmabuf: %i\n", ret);
220 } else if (dmabuf) {
222 du->cursor_dmabuf = dmabuf;
224 ret = vmw_cursor_update_dmabuf(dev_priv, dmabuf, width, height,
1006 struct vmw_dma_buffer *dmabuf,
1018 if (unlikely(requested_size > dmabuf->base.num_pages * PAGE_SIZE)) {
1062 if (!vmw_dmabuf_reference(dmabuf)) {
1063 DRM_ERROR("failed to reference dmabuf %p\n", dmabuf);
1076 vfbd->base.dmabuf = true;
1077 vfbd->buffer = dmabuf;
1147 /* returns either a dmabuf or surface */
1330 struct vmw_dma_buffer *dmabuf = vfbd->buffer;
1352 BUG_ON(dmabuf == NULL);
1710 if (vfb->dmabuf)