Re: [PATCH v15 0/7] drm/i915/gvt: Dma-buf support for GVT-g

From: Gerd Hoffmann
Date: Tue Oct 10 2017 - 10:06:50 EST


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@xxxxxxxxxx>

cheers,
Gerd