Re: [PATCH] drm/i915: prevent generating unusable gvt build which no mpt module is selected

2017-05-28 Thread Du, Changbin
On Fri, May 26, 2017 at 12:58:55PM +0300, Jani Nikula wrote: > On Thu, 25 May 2017, "Du, Changbin" wrote: > >> Note: > >>select should be used with care. select will force > >>a symbol to a value without visiting the dependencies. > >&

Re: [PATCH] drm/i915: prevent generating unusable gvt build which no mpt module is selected

2017-05-25 Thread Du, Changbin
Hi, Jani, just relized you are in i915 team. :) > > +menu "Intel GVT-g graphics virtualization host support" > > + depends on DRM_I915 > > + depends on 64BIT > > + > > config DRM_I915_GVT > > -bool "Enable Intel GVT-g graphics virtualization host support" > > -depends on DRM_I

Re: [PATCH] drm/i915: prevent generating unusable gvt build which no mpt module is selected

2017-05-24 Thread Du, Changbin
On Wed, May 24, 2017 at 10:21:31AM +0100, Chris Wilson wrote: > On Wed, May 24, 2017 at 04:50:39PM +0800, changbin...@intel.com wrote: > > From: Changbin Du > > > > At least we need one MPT module (currently only have one) selected > > to get GVTg functional. When GVTg is enabled while no MPT sel

[Intel-gfx] [PATCH] drm/i915: check if execlist_port is empty before using its content

2016-12-26 Thread Du, Changbin
> On Fri, Dec 23, 2016 at 01:46:36PM +0800, changbin.du at intel.com wrote: > > From: "Du, Changbin" > > > > This patch fix a crash in function reset_common_ring. In this case, > > the port[0].request is null when reset the render ring, so a null > >