Re: [Intel-gfx] [PATCH v5 4/5] drm/i915/gvt: Dmabuf support for GVT-g

2017-05-26 Thread Chris Wilson
On Thu, May 25, 2017 at 02:28:25PM +0100, Chris Wilson wrote: > On Tue, May 23, 2017 at 06:32:00PM +0800, Xiaoguang Chen wrote: > > + gtt_entries = (gen8_pte_t __iomem *)dev_priv->ggtt.gsm + > > + (fb_gma >> PAGE_SHIFT); > > + for_each_sg(st->sgl, sg, fb_size, i) { > > + sg-

Re: [Intel-gfx] [PATCH v5 4/5] drm/i915/gvt: Dmabuf support for GVT-g

2017-05-25 Thread Chris Wilson
On Tue, May 23, 2017 at 06:32:00PM +0800, Xiaoguang Chen wrote: > dmabuf for GVT-g can be exported to users who can use the dmabuf to show > the desktop of vm which use intel vgpu. > > Currently we provide query and create new dmabuf operations. > > Users of dmabuf can cache some created dmabufs