Re: [Intel-gfx] [PATCH v4] drm/i915/scheduler: add gvt notification for guc submission

2017-03-27 Thread Joonas Lahtinen
On ma, 2017-03-27 at 10:58 +, Dong, Chuanxiao wrote: > > > > > @@ -634,6 +636,8 @@ static void i915_guc_irq_handler(unsigned long data) > > > > > >   rq = port[0].request; > > >   while (rq && i915_gem_request_completed(rq)) { > > >  

Re: [Intel-gfx] [PATCH v4] drm/i915/scheduler: add gvt notification for guc submission

2017-03-27 Thread Dong, Chuanxiao
> -Original Message- > From: Joonas Lahtinen [mailto:joonas.lahti...@linux.intel.com] > Sent: Monday, March 27, 2017 6:14 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org; Zheng, Xiao >

Re: [Intel-gfx] [PATCH v4] drm/i915/scheduler: add gvt notification for guc submission

2017-03-27 Thread Joonas Lahtinen
On pe, 2017-03-24 at 09:49 +0800, Chuanxiao Dong wrote: > GVT request needs a manual mmio load/restore. Before GuC submit > a request, send notification to gvt for mmio loading. And after > the GuC finished this GVT request, notify gvt again for mmio > restore. This follows the usage when using

Re: [Intel-gfx] [PATCH v4] drm/i915/scheduler: add gvt notification for guc submission

2017-03-26 Thread Dong, Chuanxiao
Hello, ping for review v4. It fixed the comments from Joonas and Chris. Would like to know if this patch can be applied in i915 to unblock the GVT in GuC mode. :) Thanks Chuanxiao > -Original Message- > From: Dong, Chuanxiao > Sent: Friday, March 24, 2017 9:49 AM > To:

[Intel-gfx] [PATCH v4] drm/i915/scheduler: add gvt notification for guc submission

2017-03-23 Thread Chuanxiao Dong
GVT request needs a manual mmio load/restore. Before GuC submit a request, send notification to gvt for mmio loading. And after the GuC finished this GVT request, notify gvt again for mmio restore. This follows the usage when using execlists submission. v2: use context_status_change instead of