[Intel-gfx] [PATCH v4] drm/i915: enable to read CSB and CSB write pointer from HWSP in GVT-g VM

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Oct 13 08:45:35 UTC 2017


On Fri, 2017-10-13 at 09:17 +0800, Li, Weinan Z wrote:
> On 10/12/2017 4:16 PM, Chris Wilson wrote:
> > Quoting Weinan Li (2017-10-12 07:50:08)

<SNIP>

> > > @@ -398,6 +395,9 @@ static bool csb_force_mmio(struct drm_i915_private *i915)
> > >          if (intel_vtd_active())
> > >                  return true;
> > 
> >    
> > /* Older GVT emulation depends upon intercepting CSB mmio */
> > > +       if (intel_vgpu_active(i915) && !intel_vgpu_has_hwsp_emulation(i915))
> > > +               return true;
> > > +

You missed the request to move the comment here.

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list