RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-03 Thread Chen, Xiaoguang
Hi Alex, do you have any comments for this interface? >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Chen, Xiaoguang >Sent: Wednesday, May 03, 2017 9:39 AM >To: Gerd Hoffmann <kra...@redhat.com> >

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

2017-05-03 Thread Chen, Xiaoguang
ffer. Assign the pages to gem obj. There may be interval between step 4 and step 5. The framebuffer may have changed in step 5 but we are still using the old framebuffer's address(decoded in step 1) in step 5. > >> +return st; >> +} >-Original Message- >From: intel-g

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-11 Thread Chen, Xiaoguang
>-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Friday, May 12, 2017 10:58 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Gerd Hoffmann <kra...@redhat.com>; Tian, Kevin <kevin.t...@intel.com>; >intel-...

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-11 Thread Chen, Xiaoguang
evin.t...@intel.com>; intel-...@lists.freedesktop.org; linux- >ker...@vger.kernel.org; zhen...@linux.intel.com; Lv, Zhiyuan ><zhiyuan...@intel.com>; Chen, Xiaoguang <xiaoguang.c...@intel.com>; intel- >gvt-...@lists.freedesktop.org; Wang, Zhi A <zhi.a.w...@intel.com> >Subject: Re: [

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-12 Thread Chen, Xiaoguang
Hi Gerd, >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Gerd Hoffmann >Sent: Thursday, May 11, 2017 9:28 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Tian, Kevin <kevin.t...@intel.com>; i

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-14 Thread Chen, Xiaoguang
Hi Alex and Gerd, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Saturday, May 13, 2017 12:38 AM >To: Gerd Hoffmann <kra...@redhat.com> >Cc: Chen, Xiaoguang <xiaoguang.c...@intel.com>; Tian, Kevin >

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-11 Thread Chen, Xiaoguang
.@lists.freedesktop.org; linux- >ker...@vger.kernel.org; zhen...@linux.intel.com; Lv, Zhiyuan ><zhiyuan...@intel.com>; Chen, Xiaoguang <xiaoguang.c...@intel.com>; intel- >gvt-...@lists.freedesktop.org; Wang, Zhi A <zhi.a.w...@intel.com> >Subject: Re: [RFC PATCH 6/6] drm

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-17 Thread Chen, Xiaoguang
Hi Alex, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Thursday, May 18, 2017 5:44 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Gerd Hoffmann <kra...@redhat.com>; Tian, Kevin <kevin.t...@intel.com>; &g

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-16 Thread Chen, Xiaoguang
Hi Alex, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Tuesday, May 16, 2017 1:44 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Gerd Hoffmann <kra...@redhat.com>; Tian, Kevin <kevin.t...@intel.com>; >in

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-19 Thread Chen, Xiaoguang
Hi Gerd, >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Gerd Hoffmann >Sent: Friday, May 19, 2017 4:57 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Tian, Kevin <kevin.t...@intel.com>

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-19 Thread Chen, Xiaoguang
Hi Gerd and Alex, >-Original Message- >From: Gerd Hoffmann [mailto:kra...@redhat.com] >Sent: Friday, May 19, 2017 4:05 PM >To: Alex Williamson <alex.william...@redhat.com> >Cc: Chen, Xiaoguang <xiaoguang.c...@intel.com>; Tian, Kevin ><kevin.t...@intel.c

RE: [PATCH v2 2/5] drm/i915/gvt: OpRegion support for GVT-g

2017-05-18 Thread Chen, Xiaoguang
Hi min, >-Original Message- >From: He, Min >Sent: Thursday, May 18, 2017 11:44 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com>; >alex.william...@redhat.com; kra...@redhat.com; intel- >g...@lists.freedesktop.org; linux-kernel@vger.kernel.org; >zhen...@l

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-19 Thread Chen, Xiaoguang
>-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Thursday, May 18, 2017 10:56 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Gerd Hoffmann <kra...@redhat.com>; Tian, Kevin <kevin.t...@intel.com>; &g

RE: [PATCH v6 0/6] drm/i915/gvt: Dma-buf support for GVT-g

2017-05-30 Thread Chen, Xiaoguang
Hi Gerd, It is based on 4.12.0-rc1 >-Original Message- >From: Gerd Hoffmann [mailto:kra...@redhat.com] >Sent: Tuesday, May 30, 2017 6:24 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com>; >alex.william...@redhat.com; ch...@chris-wilson.co.uk; intel- >g...@list

RE: [PATCH v6 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-05-31 Thread Chen, Xiaoguang
Hi, >-Original Message- >From: Gerd Hoffmann [mailto:kra...@redhat.com] >Sent: Monday, May 29, 2017 3:20 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com>; >alex.william...@redhat.com; ch...@chris-wilson.co.uk; intel- >g...@lists.freedesktop.org; linux-kerne

RE: [PATCH v6 3/6] drm/i915/gvt: Frame buffer decoder support for GVT-g

2017-05-31 Thread Chen, Xiaoguang
>-Original Message- >From: Zhenyu Wang [mailto:zhen...@linux.intel.com] >Sent: Wednesday, May 31, 2017 1:12 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: alex.william...@redhat.com; kra...@redhat.com; ch...@chris-wilson.co.uk; >intel-...@lists.freed

RE: [PATCH v6 2/6] drm/i915/gvt: OpRegion support for GVT-g

2017-05-31 Thread Chen, Xiaoguang
>-Original Message- >From: Zhenyu Wang [mailto:zhen...@linux.intel.com] >Sent: Wednesday, May 31, 2017 2:30 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Tian, Kevin <kevin.t...@intel.com>; intel-...@lists.freedesktop.org; linux- >ker..

RE: [PATCH v6 2/6] drm/i915/gvt: OpRegion support for GVT-g

2017-05-31 Thread Chen, Xiaoguang
Hi >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Zhenyu Wang >Sent: Wednesday, May 31, 2017 12:47 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Tian, Kevin <kevin.t...@intel.com>; i

RE: [PATCH v6 0/6] drm/i915/gvt: Dma-buf support for GVT-g

2017-05-31 Thread Chen, Xiaoguang
ext time I will test even when the change is very small. I will change this in the next version. Sorry for the mistake. >-Original Message- >From: Gerd Hoffmann [mailto:kra...@redhat.com] >Sent: Wednesday, May 31, 2017 4:59 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com>; >

RE: [PATCH v6 6/6] drm/i915/gvt: Adding interface so user space can get the dma-buf

2017-06-01 Thread Chen, Xiaoguang
Hi Alex, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Friday, June 02, 2017 2:08 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: kra...@redhat.com; ch...@chris-wilson.co.uk; intel- >g...@lists.freedesktop.org; linu

RE: [PATCH v6 6/6] drm/i915/gvt: Adding interface so user space can get the dma-buf

2017-06-02 Thread Chen, Xiaoguang
>-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Friday, June 02, 2017 11:35 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: kra...@redhat.com; ch...@chris-wilson.co.uk; intel- >g...@lists.freedesktop.org; linux-kerne

RE: [PATCH v6 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-05-31 Thread Chen, Xiaoguang
Hi Kirti, >-Original Message- >From: Kirti Wankhede [mailto:kwankh...@nvidia.com] >Sent: Thursday, June 01, 2017 1:23 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com>; Gerd Hoffmann ><kra...@redhat.com>; alex.william...@redhat.com; ch...

RE: [PATCH v6 5/6] drm/i915/gvt: Dmabuf support for GVT-g

2017-05-31 Thread Chen, Xiaoguang
Hi Gerd, >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Gerd Hoffmann >Sent: Wednesday, May 31, 2017 8:05 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com>; >alex.william...@redhat.com; ch...@chris

RE: [PATCH v7 3/6] drm/i915/gvt: Frame buffer decoder support for GVT-g

2017-06-07 Thread Chen, Xiaoguang
>-Original Message- >From: Zhang, Tina >Sent: Wednesday, June 07, 2017 5:06 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com>; >alex.william...@redhat.com; kra...@redhat.com; ch...@chris-wilson.co.uk; >intel-...@lists.freedesktop.org; linux-kerne

RE: [PATCH v6 6/6] drm/i915/gvt: Adding interface so user space can get the dma-buf

2017-06-04 Thread Chen, Xiaoguang
Hi, >-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Gerd Hoffmann >Sent: Friday, June 02, 2017 11:24 PM >To: Alex Williamson <alex.william...@redhat.com>; Chen, Xiaoguang ><xiaoguang.c...@intel.com

RE: [PATCH v8 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-06-13 Thread Chen, Xiaoguang
>-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Wednesday, June 14, 2017 5:25 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: kra...@redhat.com; ch...@chris-wilson.co.uk; intel- >g...@lists.freedesktop.org; linux-kerne

RE: [PATCH v8 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-06-13 Thread Chen, Xiaoguang
>-Original Message- >From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On >Behalf Of Alex Williamson >Sent: Wednesday, June 14, 2017 11:06 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Tian, Kevin <kevin.t...@intel.com>; i

RE: [PATCH v8 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-06-13 Thread Chen, Xiaoguang
>-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Wednesday, June 14, 2017 11:46 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: Tian, Kevin <kevin.t...@intel.com>; intel-...@lists.freedesktop.org; linux- &g

RE: [PATCH v8 3/6] drm/i915/gvt: Frame buffer decoder support for GVT-g

2017-06-14 Thread Chen, Xiaoguang
>-Original Message- >From: Zhenyu Wang [mailto:zhen...@linux.intel.com] >Sent: Wednesday, June 14, 2017 5:39 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: alex.william...@redhat.com; kra...@redhat.com; ch...@chris-wilson.co.uk; >intel-...@lists.freed

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

2017-05-02 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.freedesktop.org; intel-gvt-.

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-02 Thread Chen, Xiaoguang
>-Original Message- >From: Gerd Hoffmann [mailto:kra...@redhat.com] >Sent: Tuesday, May 02, 2017 5:51 PM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: alex.william...@redhat.com; intel-...@lists.freedesktop.org; intel-gvt- >d...@lists.freedesktop.o

RE: [PATCH v2 5/5] drm/i915/gvt: Adding interface so user space can get the dma-buf

2017-05-21 Thread Chen, Xiaoguang
Hi Alex, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Saturday, May 20, 2017 12:34 AM >To: Chen, Xiaoguang <xiaoguang.c...@intel.com> >Cc: kra...@redhat.com; intel-...@lists.freedesktop.org; linux- >ker...@vger.kernel.org;