This is a purely a gvt patch too, so the patch subject should reflect that. Regards, Joonas Quoting changbin.du@xxxxxxxxx (2018-05-08 12:05:16) > From: Changbin Du <changbin.du@xxxxxxxxx> > > Now GVTg supports shadowing both 2M/64K huge gtt pages. So let's turn on > the cap info bit VGT_CAPS_HUGE_GTT. > > v2: Split changes in i915 side into a separated patch. > > Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx> > --- > drivers/gpu/drm/i915/gvt/vgpu.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt/vgpu.c > index 2e0a02a..861b398 100644 > --- a/drivers/gpu/drm/i915/gvt/vgpu.c > +++ b/drivers/gpu/drm/i915/gvt/vgpu.c > @@ -46,6 +46,7 @@ void populate_pvinfo_page(struct intel_vgpu *vgpu) > > vgpu_vreg_t(vgpu, vgtif_reg(vgt_caps)) = VGT_CAPS_FULL_48BIT_PPGTT; > vgpu_vreg_t(vgpu, vgtif_reg(vgt_caps)) |= VGT_CAPS_HWSP_EMULATION; > + vgpu_vreg_t(vgpu, vgtif_reg(vgt_caps)) |= VGT_CAPS_HUGE_GTT; > > vgpu_vreg_t(vgpu, vgtif_reg(avail_rs.mappable_gmadr.base)) = > vgpu_aperture_gmadr_base(vgpu); > -- > 2.7.4 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/intel-gfx _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx