Re: [Intel-gfx] [PATCH 8/8] drm/i915: Improve GuC request coalescing

2017-09-21 Thread Michał Winiarski
On Wed, Sep 20, 2017 at 05:37:05PM +0300, Mika Kuoppala wrote: > Now that we can keep track of what ports we have > dequeued, coalesce only those ports instead of iterating > through all ports. s/coalesce/submit. By coalescing I meant that we're no longer have a 1:1 relationship between a request

Re: [Intel-gfx] [PATCH 8/8] drm/i915: Improve GuC request coalescing

2017-09-21 Thread Chris Wilson
Quoting Mika Kuoppala (2017-09-20 15:37:05) > -static void i915_guc_submit(struct intel_engine_cs *engine) > +static void i915_guc_submit(struct intel_engine_cs *engine, > + const unsigned int first) > { > struct drm_i915_private *dev_priv = engine->i915; >

[Intel-gfx] [PATCH 8/8] drm/i915: Improve GuC request coalescing

2017-09-20 Thread Mika Kuoppala
Now that we can keep track of what ports we have dequeued, coalesce only those ports instead of iterating through all ports. Cc: Michał Winiarski Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_guc_submission.c | 31 +- drivers/gpu/drm/i9