[Intel-gfx] [PATCH v15 0/7] drm/i915/gvt: Dma-buf support for GVT-g
Gerd Hoffmann
kraxel at redhat.com
Tue Oct 10 14:06:43 UTC 2017
On Tue, 2017-10-10 at 17:50 +0800, Tina Zhang wrote:
> This patch set adds the dma-buf support for intel GVT-g.
>
> dma-buf is an uniform mechanism to share DMA buffers across different
> devices and subsystems. dma-buf for intel GVT-g is mainly used to
> share
> the vgpu's framebuffer to userspace to leverage userspace graphics
> stacks
> to render the framebuffer to the display monitor.
>
> The main idea is that we create a gem object and set vgpu's
> framebuffer as
> its backing storage. Then, export a dma-buf associated with this gem
> object.
> With the fd of this dma-buf, userspace can directly handle this
> buffer.
Tested-by: Gerd Hoffmann <kraxel at redhat.com>
cheers,
Gerd
More information about the Intel-gfx
mailing list