search for: virtgpu_dmabuf_ops

Displaying 4 results from an estimated 4 matches for "virtgpu_dmabuf_ops".

2019 Sep 17
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...; + return sgt; > +} > + > +static void virtgpu_gem_unmap_dma_buf(struct dma_buf_attachment *attach, > + struct sg_table *sgt, > + enum dma_data_direction dir) > +{ > + sg_free_table(sgt); > + kfree(sgt); > +} > + > +static const struct dma_buf_ops virtgpu_dmabuf_ops = { > + .cache_sgt_mapping = true, > + .attach = drm_gem_map_attach, > + .detach = drm_gem_map_detach, > + .map_dma_buf = virtgpu_gem_map_dma_buf, > + .unmap_dma_buf = virtgpu_gem_unmap_dma_buf, > + .release = drm_gem_dmabuf_release, > + .mmap = drm_gem_dmabuf_mmap, > + .vm...
2019 Oct 08
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...struct sg_table *sgt, > > > + enum dma_data_direction dir) > > > +{ > > > + sg_free_table(sgt); > > > + kfree(sgt); > > > +} > > > + > > > +static const struct dma_buf_ops virtgpu_dmabuf_ops = { > > > + .cache_sgt_mapping = true, > > > + .attach = drm_gem_map_attach, > > > + .detach = drm_gem_map_detach, > > > + .map_dma_buf = virtgpu_gem_map_dma_buf, > > > + .unmap_dma_buf = virtgpu_gem_unmap_dma_buf, > > > +...
2019 Oct 08
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...+ enum dma_data_direction dir) > > > > > +{ > > > > > + sg_free_table(sgt); > > > > > + kfree(sgt); > > > > > +} > > > > > + > > > > > +static const struct dma_buf_ops virtgpu_dmabuf_ops = { > > > > > + .cache_sgt_mapping = true, > > > > > + .attach = drm_gem_map_attach, > > > > > + .detach = drm_gem_map_detach, > > > > > + .map_dma_buf = virtgpu_gem_map_dma_buf, > > > > > + .unmap_dma_b...
2019 Oct 16
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...dir) > > > > > > > +{ > > > > > > > + sg_free_table(sgt); > > > > > > > + kfree(sgt); > > > > > > > +} > > > > > > > + > > > > > > > +static const struct dma_buf_ops virtgpu_dmabuf_ops = { > > > > > > > + .cache_sgt_mapping = true, > > > > > > > + .attach = drm_gem_map_attach, > > > > > > > + .detach = drm_gem_map_detach, > > > > > > > + .map_dma_buf = virtgpu_gem_map_dma_buf, &gt...