Re: [Intel-gfx] [PATCH v2 6/7] drm/i915/execlists: Direct submission from irq handler

2018-05-08 Thread Tvrtko Ursulin
On 08/05/2018 12:10, Chris Wilson wrote: Quoting Tvrtko Ursulin (2018-05-08 11:54:27) On 07/05/2018 14:57, Chris Wilson wrote: diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index f9bc3aaa90d0..775cf167d938 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++

Re: [Intel-gfx] [PATCH v2 6/7] drm/i915/execlists: Direct submission from irq handler

2018-05-08 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-05-08 11:54:27) > > On 07/05/2018 14:57, Chris Wilson wrote: > > diff --git a/drivers/gpu/drm/i915/i915_irq.c > > b/drivers/gpu/drm/i915/i915_irq.c > > index f9bc3aaa90d0..775cf167d938 100644 > > --- a/drivers/gpu/drm/i915/i915_irq.c > > +++

Re: [Intel-gfx] [PATCH v2 6/7] drm/i915/execlists: Direct submission from irq handler

2018-05-08 Thread Tvrtko Ursulin
On 07/05/2018 14:57, Chris Wilson wrote: Continuing the themem of bypassing ksoftirqd latency, also first try to directly submit from the CS interrupt handler to clear the ELSP and queue the next. In the past, we have been hesitant to do this as the context switch processing has been quite

[Intel-gfx] [PATCH v2 6/7] drm/i915/execlists: Direct submission from irq handler

2018-05-07 Thread Chris Wilson
Continuing the themem of bypassing ksoftirqd latency, also first try to directly submit from the CS interrupt handler to clear the ELSP and queue the next. In the past, we have been hesitant to do this as the context switch processing has been quite heavy, requiring forcewaked mmio. However, as