Message ID | 1494581878-2258-4-git-send-email-tina.zhang@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On pe, 2017-05-12 at 17:37 +0800, Tina Zhang wrote: > This patch is to provide full ppgtt capability for guest i915 driver. > > Changes since v1: > - Move VGT_CAPS_FULL_PPGTT introduction to patch 2/4. (Joonas) > > Signed-off-by: Tina Zhang <tina.zhang@intel.com> I think this should get squashed to the patch 1 in this series, which enables the functionality in gvt. Regards, Joonas
diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt/vgpu.c index 6e3cbd8..23578c1 100644 --- a/drivers/gpu/drm/i915/gvt/vgpu.c +++ b/drivers/gpu/drm/i915/gvt/vgpu.c @@ -43,6 +43,7 @@ void populate_pvinfo_page(struct intel_vgpu *vgpu) vgpu_vreg(vgpu, vgtif_reg(version_minor)) = 0; vgpu_vreg(vgpu, vgtif_reg(display_ready)) = 0; vgpu_vreg(vgpu, vgtif_reg(vgt_id)) = vgpu->id; + vgpu_vreg(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_PPGTT; vgpu_vreg(vgpu, vgtif_reg(avail_rs.mappable_gmadr.base)) = vgpu_aperture_gmadr_base(vgpu); vgpu_vreg(vgpu, vgtif_reg(avail_rs.mappable_gmadr.size)) =
This patch is to provide full ppgtt capability for guest i915 driver. Changes since v1: - Move VGT_CAPS_FULL_PPGTT introduction to patch 2/4. (Joonas) Signed-off-by: Tina Zhang <tina.zhang@intel.com> --- drivers/gpu/drm/i915/gvt/vgpu.c | 1 + 1 file changed, 1 insertion(+)