Re: [Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

2017-05-03 Thread Chen, Xiaoguang
; > >>-Original Message- >>From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] >>Sent: Friday, April 28, 2017 6:09 PM >>To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >>Cc: kra...@redhat.com; alex.william...@redhat.com; intel- >>g...@lists.freedeskt

Re: [Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

2017-05-02 Thread Gerd Hoffmann
Hi, > > +#ifndef _GVT_DMABUF_H_ > > +#define _GVT_DMABUF_H_ > > + > > +#define INTEL_VGPU_QUERY_DMABUF0 > > +#define INTEL_VGPU_GENERATE_DMABUF 1 > > + > > +struct intel_vgpu_dmabuf { > > This looks to be uapi. What's it doing here? It is indeed, should go to include/uapi/

Re: [Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

2017-05-02 Thread Chen, Xiaoguang
..@lists.freedesktop.org; Wang, Zhi A ><zhi.a.w...@intel.com>; zhen...@linux.intel.com; linux- >ker...@vger.kernel.org; Lv, Zhiyuan <zhiyuan...@intel.com>; Tian, Kevin ><kevin.t...@intel.com> >Subject: Re: [Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

Re: [Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

2017-04-28 Thread Chris Wilson
On Fri, Apr 28, 2017 at 05:35:29PM +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

[Intel-gfx] [RFC PATCH 5/6] drm/i915/gvt: dmabuf support for GVT-g

2017-04-28 Thread Xiaoguang Chen
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 and related information such as the framebuffer's address, size, tiling