public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g
@ 2015-08-28  7:41 Zhiyuan Lv
  2015-08-28  7:41 ` [PATCH v2 1/6] drm/i915: preallocate pdps for 32 bit vgpu Zhiyuan Lv
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Zhiyuan Lv @ 2015-08-28  7:41 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, which requires guest driver to
explicitly notify host device model the life cycle of PPGTT page
tables.

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

v2:
- Rebase to latest drm-intel-next-queued
- Not to pin/unpin lr contexts and not to send notification for them (Chris)
- Address review comments from reviewers (noted in patches)


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

 drivers/gpu/drm/i915/i915_gem_context.c |  7 +++
 drivers/gpu/drm/i915/i915_gem_gtt.c     | 78 ++++++++++++++++++++++++++++++++-
 drivers/gpu/drm/i915/i915_vgpu.c        |  2 +-
 drivers/gpu/drm/i915/i915_vgpu.h        | 36 ++++++++++++++-
 drivers/gpu/drm/i915/intel_lrc.c        |  9 +++-
 5 files changed, 126 insertions(+), 6 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] 12+ messages in thread

end of thread, other threads:[~2015-09-02  9:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28  7:41 [PATCH v2 0/6] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g Zhiyuan Lv
2015-08-28  7:41 ` [PATCH v2 1/6] drm/i915: preallocate pdps for 32 bit vgpu Zhiyuan Lv
2015-08-28  7:41 ` [PATCH v2 2/6] drm/i915: Enable full ppgtt for vgpu on Broadwell Zhiyuan Lv
2015-08-31 12:55   ` Joonas Lahtinen
2015-09-02  9:45     ` Daniel Vetter
2015-08-28  7:41 ` [PATCH v2 3/6] drm/i915: Always enable execlists on BDW for vgpu Zhiyuan Lv
2015-08-31 12:50   ` Joonas Lahtinen
2015-08-28  7:41 ` [PATCH v2 4/6] drm/i915: Update PV INFO page definition for Intel GVT-g Zhiyuan Lv
2015-08-28  7:41 ` [PATCH v2 5/6] drm/i915: guest i915 notification " Zhiyuan Lv
2015-08-31 12:46   ` Joonas Lahtinen
2015-08-28  7:41 ` [PATCH v2 6/6] drm/i915: Allow Broadwell guest with " Zhiyuan Lv
2015-09-02  9:47   ` Daniel Vetter

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