[PATCH] drm/i915/gvt: disable GVT-g if host GuC submission is enabled

Dong, Chuanxiao chuanxiao.dong at intel.com
Tue May 2 05:52:33 UTC 2017



> -----Original Message-----
> From: Zhenyu Wang [mailto:zhenyuw at linux.intel.com]
> Sent: Tuesday, May 2, 2017 1:36 PM
> To: Dong, Chuanxiao <chuanxiao.dong at intel.com>
> Cc: intel-gvt-dev at lists.freedesktop.org
> Subject: Re: [PATCH] drm/i915/gvt: disable GVT-g if host GuC submission is
> enabled
> 
> On 2017.04.24 16:27:18 +0800, Chuanxiao Dong wrote:
> > Currently GVT-g cannot work properly when host GuC submission is
> > enabled, so disable GVT in this case.
> >
> > Cc: Zhenyu Wang <zhenyuw at linux.intel.com>
> > Signed-off-by: Chuanxiao Dong <chuanxiao.dong at intel.com>
> > ---
> >  drivers/gpu/drm/i915/intel_gvt.c | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_gvt.c
> > b/drivers/gpu/drm/i915/intel_gvt.c
> > index e1ab643..0e1ff48 100644
> > --- a/drivers/gpu/drm/i915/intel_gvt.c
> > +++ b/drivers/gpu/drm/i915/intel_gvt.c
> > @@ -84,6 +84,11 @@ int intel_gvt_init(struct drm_i915_private *dev_priv)
> >  		goto bail;
> >  	}
> >
> > +	if (i915.enable_guc_submission) {
> > +		DRM_INFO("GPU guest virtualisation [GVT-g] disabled due to
> enabled GuC submission [i915.enable_guc_submission module
> parameter]\n");
> > +		goto bail;
> > +	}
> > +
> >  	/*
> >  	 * We're not in host or fail to find a MPT module, disable GVT-g
> >  	 */
> > --
> 
> As this changes file outside of gvt directory, pls resend with intel-gfx list
> included.

Sure. Will resend this patch.

Thanks
Chuanxiao

> 
> thanks
> 
> --
> Open Source Technology Center, Intel ltd.
> 
> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827


More information about the intel-gvt-dev mailing list