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

2017-03-19 Thread Dong, Chuanxiao
> -Original Message- > From: Zheng, Xiao > Sent: Monday, March 20, 2017 10:46 AM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org > Subject: RE: [Intel-gfx] [PATCH] drm/i915/scheduler: add gvt notification for

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

2017-03-19 Thread Zheng, Xiao
It may consider to change the function name: execlists_context_status_change to context_status_change_notify () instead. Otherwise confusing GUC submission path. Thanks. > -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf > Of Chuanxiao

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

2017-03-19 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. Signed-off-by: Chuanxiao Dong

[Intel-gfx] linux-next: build failure after merge of the drm tree

2017-03-19 Thread Stephen Rothwell
Hi Dave, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/i915/i915_irq.c: In function 'gen6_rps_reset_ei': drivers/gpu/drm/i915/i915_irq.c:1115:38: error: 'struct intel_gen6_power_mgmt' has no member named 'down_ei'

Re: [Intel-gfx] [PATCH] drm/i915: Reset tasklet back to execlists after disabling guc

2017-03-19 Thread MichaƂ Winiarski
On Sat, Mar 18, 2017 at 10:28:59AM +, Chris Wilson wrote: > When switching back to execlists, we also now need to restore the > tasklet handler. > > Reported-by: Oscar Mateo > Fixes: 31de73501ac9 ("drm/i915/scheduler: emulate a scheduler for guc") > Signed-off-by: