public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g
@ 2015-08-20  3:15 Zhiyuan Lv
  2015-08-20  6:44 ` Jani Nikula
  0 siblings, 1 reply; 4+ messages in thread
From: Zhiyuan Lv @ 2015-08-20  3:15 UTC (permalink / raw)
  To: intel-gfx; +Cc: igvt-g

I915 kernel driver can now work inside a virtual machine on Haswell
with Intel GVT-g. In order to do the same thing on Broadwell, there
are some extra changes needed. The two main things are to support the
more complicated PPGTT page table structure and EXECLIST contexts.
GVT-g will perform shadow PPGTT and shadow context, which requires
guest driver to explicitly notify host device model the life cycle of
PPGTT and EXECLIST contexts.

The first and the forth patches added some restrictions to drivers in
virtualization scenario to make the shadow work easier. The first
patch is based on Mika's earlier one, but we use it for vgpu only.
The sixth patch is the implementation of the notification for
shadowing.

Zhiyuan Lv (7):
  drm/i915: preallocate pdps for 32 bit vgpu
  drm/i915: Enable full ppgtt for vgpu
  drm/i915: Always enable execlists on BDW for vgpu
  drm/i915: always pin lrc context for vgpu with Intel GVT-g
  drm/i915: Update PV INFO page definition for Intel GVT-g
  drm/i915: guest i915 notification for Intel-GVTg
  drm/i915: Allow Broadwell guest with Intel GVT-g

 drivers/gpu/drm/i915/i915_gem_gtt.c | 77 +++++++++++++++++++++++++++++++++++--
 drivers/gpu/drm/i915/i915_vgpu.c    |  2 +-
 drivers/gpu/drm/i915/i915_vgpu.h    | 34 +++++++++++++++-
 drivers/gpu/drm/i915/intel_lrc.c    | 44 ++++++++++++++++++---
 4 files changed, 145 insertions(+), 12 deletions(-)

-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/7] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g
  2015-08-20  3:15 [PATCH 0/7] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g Zhiyuan Lv
@ 2015-08-20  6:44 ` Jani Nikula
  2015-08-20  8:11   ` Zhiyuan Lv
  0 siblings, 1 reply; 4+ messages in thread
From: Jani Nikula @ 2015-08-20  6:44 UTC (permalink / raw)
  To: Zhiyuan Lv, intel-gfx; +Cc: igvt-g

On Thu, 20 Aug 2015, Zhiyuan Lv <zhiyuan.lv@intel.com> wrote:
> I915 kernel driver can now work inside a virtual machine on Haswell
> with Intel GVT-g. In order to do the same thing on Broadwell, there
> are some extra changes needed. The two main things are to support the
> more complicated PPGTT page table structure and EXECLIST contexts.
> GVT-g will perform shadow PPGTT and shadow context, which requires
> guest driver to explicitly notify host device model the life cycle of
> PPGTT and EXECLIST contexts.
>
> The first and the forth patches added some restrictions to drivers in
> virtualization scenario to make the shadow work easier. The first
> patch is based on Mika's earlier one, but we use it for vgpu only.
> The sixth patch is the implementation of the notification for
> shadowing.

Please send your patches with git send-email, or otherwise ensure the
patches are in-reply-to the cover letter to keep review in one thread.

BR,
Jani.


>
> Zhiyuan Lv (7):
>   drm/i915: preallocate pdps for 32 bit vgpu
>   drm/i915: Enable full ppgtt for vgpu
>   drm/i915: Always enable execlists on BDW for vgpu
>   drm/i915: always pin lrc context for vgpu with Intel GVT-g
>   drm/i915: Update PV INFO page definition for Intel GVT-g
>   drm/i915: guest i915 notification for Intel-GVTg
>   drm/i915: Allow Broadwell guest with Intel GVT-g
>
>  drivers/gpu/drm/i915/i915_gem_gtt.c | 77 +++++++++++++++++++++++++++++++++++--
>  drivers/gpu/drm/i915/i915_vgpu.c    |  2 +-
>  drivers/gpu/drm/i915/i915_vgpu.h    | 34 +++++++++++++++-
>  drivers/gpu/drm/i915/intel_lrc.c    | 44 ++++++++++++++++++---
>  4 files changed, 145 insertions(+), 12 deletions(-)
>
> -- 
> 1.9.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 0/7] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g
@ 2015-08-20  7:45 Zhiyuan Lv
  0 siblings, 0 replies; 4+ messages in thread
From: Zhiyuan Lv @ 2015-08-20  7:45 UTC (permalink / raw)
  To: intel-gfx; +Cc: igvt-g

I915 kernel driver can now work inside a virtual machine on Haswell
with Intel GVT-g. In order to do the same thing on Broadwell, there
are some extra changes needed. The two main things are to support the
more complicated PPGTT page table structure and EXECLIST contexts.
GVT-g will perform shadow PPGTT and shadow context, which requires
guest driver to explicitly notify host device model the life cycle of
PPGTT and EXECLIST contexts.

The first and the forth patches added some restrictions to drivers in
virtualization scenario to make the shadow work easier. The first
patch is based on Mika's earlier one, but we use it for vgpu only.
The sixth patch is the implementation of the notification for
shadowing.

Zhiyuan Lv (7):
  drm/i915: preallocate pdps for 32 bit vgpu
  drm/i915: Enable full ppgtt for vgpu
  drm/i915: Always enable execlists on BDW for vgpu
  drm/i915: always pin lrc context for vgpu with Intel GVT-g
  drm/i915: Update PV INFO page definition for Intel GVT-g
  drm/i915: guest i915 notification for Intel-GVTg
  drm/i915: Allow Broadwell guest with Intel GVT-g

 drivers/gpu/drm/i915/i915_gem_gtt.c | 77 +++++++++++++++++++++++++++++++++++--
 drivers/gpu/drm/i915/i915_vgpu.c    |  2 +-
 drivers/gpu/drm/i915/i915_vgpu.h    | 34 +++++++++++++++-
 drivers/gpu/drm/i915/intel_lrc.c    | 44 ++++++++++++++++++---
 4 files changed, 145 insertions(+), 12 deletions(-)

-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/7] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g
  2015-08-20  6:44 ` Jani Nikula
@ 2015-08-20  8:11   ` Zhiyuan Lv
  0 siblings, 0 replies; 4+ messages in thread
From: Zhiyuan Lv @ 2015-08-20  8:11 UTC (permalink / raw)
  To: Jani Nikula; +Cc: intel-gfx, igvt-g

Hi Jani,

On Thu, Aug 20, 2015 at 09:44:08AM +0300, Jani Nikula wrote:
> On Thu, 20 Aug 2015, Zhiyuan Lv <zhiyuan.lv@intel.com> wrote:
> > I915 kernel driver can now work inside a virtual machine on Haswell
> > with Intel GVT-g. In order to do the same thing on Broadwell, there
> > are some extra changes needed. The two main things are to support the
> > more complicated PPGTT page table structure and EXECLIST contexts.
> > GVT-g will perform shadow PPGTT and shadow context, which requires
> > guest driver to explicitly notify host device model the life cycle of
> > PPGTT and EXECLIST contexts.
> >
> > The first and the forth patches added some restrictions to drivers in
> > virtualization scenario to make the shadow work easier. The first
> > patch is based on Mika's earlier one, but we use it for vgpu only.
> > The sixth patch is the implementation of the notification for
> > shadowing.
> 
> Please send your patches with git send-email, or otherwise ensure the
> patches are in-reply-to the cover letter to keep review in one thread.

Thanks for the comments! I just re-sent the patchset, and these ones can be
ignored. Sorry for the inconvenience caused!

Regards,
-Zhiyuan

> 
> BR,
> Jani.
> 
> 
> >
> > Zhiyuan Lv (7):
> >   drm/i915: preallocate pdps for 32 bit vgpu
> >   drm/i915: Enable full ppgtt for vgpu
> >   drm/i915: Always enable execlists on BDW for vgpu
> >   drm/i915: always pin lrc context for vgpu with Intel GVT-g
> >   drm/i915: Update PV INFO page definition for Intel GVT-g
> >   drm/i915: guest i915 notification for Intel-GVTg
> >   drm/i915: Allow Broadwell guest with Intel GVT-g
> >
> >  drivers/gpu/drm/i915/i915_gem_gtt.c | 77 +++++++++++++++++++++++++++++++++++--
> >  drivers/gpu/drm/i915/i915_vgpu.c    |  2 +-
> >  drivers/gpu/drm/i915/i915_vgpu.h    | 34 +++++++++++++++-
> >  drivers/gpu/drm/i915/intel_lrc.c    | 44 ++++++++++++++++++---
> >  4 files changed, 145 insertions(+), 12 deletions(-)
> >
> > -- 
> > 1.9.1
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 
> -- 
> Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-20  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20  3:15 [PATCH 0/7] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g Zhiyuan Lv
2015-08-20  6:44 ` Jani Nikula
2015-08-20  8:11   ` Zhiyuan Lv
  -- strict thread matches above, loose matches on Subject: below --
2015-08-20  7:45 Zhiyuan Lv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox