[Intel-gfx] [PATCH] drm/i915/gtt: Revert "Disable read-only support under GVT"

2018-10-30 Thread hang . yuan
From: Hang Yuan This reverts commit c9e666880de5a1fed04dc412b046916d542b72dd. Checked GVT codes that guest PPGTT PTE flag bits are propagated to shadow PTE. Read/write bit is not changed. Further tested by i915 self-test case "igt_ctx_readonly". No error or GPU hang was detected. So e

[Intel-gfx] [PATCH v2] drm/i915: declare gvt as i915's soft dependency

2018-07-03 Thread hang . yuan
From: Hang Yuan This helps initramfs builder and other tools to know the full dependencies of i915 and have gvt module loaded with i915. v2: add condition and change to pre-dependency (Chris) Signed-off-by: Hang Yuan --- drivers/gpu/drm/i915/i915_pci.c | 6 ++ 1 file changed, 6

Re: [Intel-gfx] [PATCH v2] drm/i915: declare gvt as i915's soft dependency

2018-07-03 Thread Hang Yuan
On 07/03/2018 06:27 PM, Chris Wilson wrote: Quoting hang.y...@linux.intel.com (2018-07-03 11:12:51) From: Hang Yuan This helps initramfs builder and other tools to know the full dependencies of i915 and have gvt module loaded with i915. v2: add condition and change to pre-dependency (Chris

[Intel-gfx] [PATCH v3] drm/i915/gvt: declare gvt as i915's soft dependency

2018-07-03 Thread hang . yuan
From: Hang Yuan This helps initramfs builder and other tools to know the full dependencies of i915 and have gvt module loaded with i915. v2: add condition and change to pre-dependency (Chris) v3: move declaration to gvt.c. (Chris) Signed-off-by: Hang Yuan --- drivers/gpu/drm/i915/gvt/gvt.c

Re: [Intel-gfx] [PATCH v3] drm/i915/gvt: declare gvt as i915's soft dependency

2018-07-04 Thread Hang Yuan
Thank you for the help to improve the patch! - Henry On 07/04/2018 05:21 PM, Chris Wilson wrote: Quoting hang.y...@linux.intel.com (2018-07-04 04:07:45) From: Hang Yuan This helps initramfs builder and other tools to know the full dependencies of i915 and have gvt module loaded with i915

Re: [Intel-gfx] [PATCH v3] drm/i915/gvt: declare gvt as i915's soft dependency

2018-07-05 Thread Hang Yuan
On 07/05/2018 03:21 PM, Zhenyu Wang wrote: On 2018.07.04 11:07:45 +0800, intel-gfx-boun...@lists.freedesktop.org wrote: From: Hang Yuan This helps initramfs builder and other tools to know the full dependencies of i915 and have gvt module loaded with i915. v2: add condition and change to pre

[Intel-gfx] [PATCH v4] drm/i915/gvt: declare gvt as i915's soft dependency

2018-07-09 Thread hang . yuan
From: Hang Yuan This helps initramfs builder and other tools to know the full dependencies of i915 and have gvt module loaded with i915. v2: add condition and change to pre-dependency (Chris) v3: move declaration to gvt.c. (Chris) v4: remove xengt (Zhenyu) Signed-off-by: Hang Yuan Reviewed-by

[Intel-gfx] [PATCH] drm/i915: add kvmgt as i915's soft dependency

2018-06-22 Thread hang . yuan
From: Hang Yuan This helps kvmgt included in initramfs and got loaded after i915. Signed-off-by: Hang Yuan --- drivers/gpu/drm/i915/i915_pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index 062e91b..a0fb51f 100644

Re: [Intel-gfx] [PATCH] drm/i915: add kvmgt as i915's soft dependency

2018-06-22 Thread Hang Yuan
On Fri, Jun 22, 2018 at 08:44:50AM +0100, Chris Wilson wrote: > Quoting hang.y...@linux.intel.com (2018-06-22 08:32:57) > > From: Hang Yuan > > > > This helps kvmgt included in initramfs and got loaded after i915. > > > > Signed-off-by: Hang Yuan > > -

Re: [Intel-gfx] [PATCH] drm/i915: add kvmgt as i915's soft dependency

2018-06-22 Thread Hang Yuan
On Fri, Jun 22, 2018 at 04:33:21PM +0800, intel-gvt-dev-boun...@lists.freedesktop.org wrote: > On Fri, Jun 22, 2018 at 08:44:50AM +0100, Chris Wilson wrote: > > Quoting hang.y...@linux.intel.com (2018-06-22 08:32:57) > > > From: Hang Yuan > > > > > > This h

Re: [Intel-gfx] [PATCH] drm/i915: add kvmgt as i915's soft dependency

2018-06-22 Thread Hang Yuan
On Fri, Jun 22, 2018 at 09:41:26AM +0100, Chris Wilson wrote: > Quoting Hang Yuan (2018-06-22 09:18:02) > > On Fri, Jun 22, 2018 at 08:44:50AM +0100, Chris Wilson wrote: > > > Quoting hang.y...@linux.intel.com (2018-06-22 08:32:57) > > > > From: Hang Yuan >