Re: [Intel-gfx] [PATCH v6 04/14] drm/i915/gvt: Detect 64K gtt entry by IPS bit of PDE

2018-05-10 Thread Zhenyu Wang
On 2018.05.10 16:17:35 +0100, Matthew Auld wrote: > > @@ -934,6 +944,20 @@ static int ppgtt_invalidate_spt(struct > > intel_vgpu_ppgtt_spt *spt) > > return ret; > > } > > > > +static bool vgpu_ips_enabled(struct intel_vgpu *vgpu) > > +{ > > + if (INTEL_GEN(vgpu->gvt->dev_priv) ==

Re: [Intel-gfx] [PATCH v6 04/14] drm/i915/gvt: Detect 64K gtt entry by IPS bit of PDE

2018-05-10 Thread Matthew Auld
On 8 May 2018 at 10:05, wrote: > From: Changbin Du > > This change help us detect the real entry type per PSE and IPS setting. > For 64K entry, we also need to check reg GEN8_GAMW_ECO_DEV_RW_IA. > > Signed-off-by: Changbin Du

[Intel-gfx] [PATCH v6 04/14] drm/i915/gvt: Detect 64K gtt entry by IPS bit of PDE

2018-05-08 Thread changbin . du
From: Changbin Du This change help us detect the real entry type per PSE and IPS setting. For 64K entry, we also need to check reg GEN8_GAMW_ECO_DEV_RW_IA. Signed-off-by: Changbin Du --- drivers/gpu/drm/i915/gvt/gtt.c | 68