Skip to content

drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-g

Zhiyuan Lv intel-gfx 1 version In review

Get series with b4
b4 am 20150820031513.GA5328@zlv-hp-dev

Versions newest first

  1. v1 Latest6 of 7 patches 2 repliesIn review

6 of 7 patches are in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915: preallocate pdps for 32 bit vgpudrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/intel_lrc.c+35 -10 replies
2/7drm/i915: Enable full ppgtt for vgpudrivers/gpu/drm/i915/i915_gem_gtt.c+0 -30 replies
3/7drm/i915: Always enable execlists on BDW for vgpudrivers/gpu/drm/i915/intel_lrc.c+3 -00 replies
4/7drm/i915: always pin lrc context for vgpu with Intel GVT-gdrivers/gpu/drm/i915/intel_lrc.c+8 -50 replies
5/7drm/i915: Update PV INFO page definition for Intel GVT-gdrivers/gpu/drm/i915/i915_vgpu.h+32 -20 replies
7/7drm/i915: Allow Broadwell guest with Intel GVT-gdrivers/gpu/drm/i915/i915_vgpu.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] drm/intel: guest i915 changes for Broadwell to run inside VM with Intel GVT-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(-)
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx