Re: [Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a scheduler for guc

2017-03-12 Thread Dong, Chuanxiao
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf > Of Tvrtko Ursulin > Sent: Wednesday, February 15, 2017 8:34 PM > To: Chris Wilson <ch...@chris-wilson.co.uk>; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-g

Re: [Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a scheduler for guc

2017-02-15 Thread Tvrtko Ursulin
On 15/02/2017 12:20, Chris Wilson wrote: On Wed, Feb 15, 2017 at 11:56:28AM +, Tvrtko Ursulin wrote: On 14/02/2017 11:44, Chris Wilson wrote: diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index cdc7da60d37a..aa886b5fb2cd 100644 ---

Re: [Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a scheduler for guc

2017-02-15 Thread Chris Wilson
On Wed, Feb 15, 2017 at 11:56:28AM +, Tvrtko Ursulin wrote: > > On 14/02/2017 11:44, Chris Wilson wrote: > >diff --git a/drivers/gpu/drm/i915/i915_irq.c > >b/drivers/gpu/drm/i915/i915_irq.c > >index cdc7da60d37a..aa886b5fb2cd 100644 > >--- a/drivers/gpu/drm/i915/i915_irq.c > >+++

Re: [Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a scheduler for guc

2017-02-15 Thread Tvrtko Ursulin
On 14/02/2017 11:44, Chris Wilson wrote: This emulates execlists on top of the GuC in order to defer submission of requests to the hardware. This deferral allows time for high priority requests to gazump their way to the head of the queue, however it nerfs the GuC by converting it back into a

Re: [Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a scheduler for guc

2017-02-14 Thread Joonas Lahtinen
On ti, 2017-02-14 at 11:44 +, Chris Wilson wrote: > This emulates execlists on top of the GuC in order to defer submission of > requests to the hardware. This deferral allows time for high priority > requests to gazump their way to the head of the queue, however it nerfs > the GuC by

[Intel-gfx] [PATCH 2/2] drm/i915/scheduler: emulate a scheduler for guc

2017-02-14 Thread Chris Wilson
This emulates execlists on top of the GuC in order to defer submission of requests to the hardware. This deferral allows time for high priority requests to gazump their way to the head of the queue, however it nerfs the GuC by converting it back into a simple execlist (where the CPU has to wake up