> From: Song, Jike > Sent: Tuesday, September 30, 2014 3:06 AM > > vgt mediates GPU operations from host i915, in the same way as > mediating GPU operations from normal VMs. This way vgt can > have centralized management about sharing among host and other > VMs. To achieve that, we add a hook in critical wrapper interfaces > (MMIO/GTT). > > This patch only adds the MMIO/GTT accessing functions, without > changing the existing i915 MMIO/GTT access behaviors. > > Signed-off-by: Jike Song <jike.song@xxxxxxxxx> > --- > drivers/gpu/drm/i915/i915_vgt.h | 21 ++++++++ > drivers/gpu/drm/i915/vgt/vgt.c | 105 > ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 126 insertions(+) > ... > +void i915_vgt_record_priv(struct drm_i915_private *priv) > +{ > + dev_priv = priv; > +} > -- Suppose above can be carried in i915_start_vgt, instead of adding a new interface? Thanks Kevin _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx