Re: [Intel-gfx] [PATCH 14/40] drm/i915: Load balancing across a virtual engine

2019-05-08 Thread Tvrtko Ursulin
On 08/05/2019 12:17, Chris Wilson wrote: Quoting Tvrtko Ursulin (2019-05-08 11:29:34) On 08/05/2019 09:06, Chris Wilson wrote: +static int live_virtual_engine(void *arg) +{ + struct drm_i915_private *i915 = arg; + struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1]; +

Re: [Intel-gfx] [PATCH 14/40] drm/i915: Load balancing across a virtual engine

2019-05-08 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-05-08 11:29:34) > > On 08/05/2019 09:06, Chris Wilson wrote: > > +static int live_virtual_engine(void *arg) > > +{ > > + struct drm_i915_private *i915 = arg; > > + struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1]; > > + struct intel_engine_cs

Re: [Intel-gfx] [PATCH 14/40] drm/i915: Load balancing across a virtual engine

2019-05-08 Thread Tvrtko Ursulin
On 08/05/2019 09:06, Chris Wilson wrote: Having allowed the user to define a set of engines that they will want to only use, we go one step further and allow them to bind those engines into a single virtual instance. Submitting a batch to the virtual engine will then forward it to any one of

[Intel-gfx] [PATCH 14/40] drm/i915: Load balancing across a virtual engine

2019-05-08 Thread Chris Wilson
Having allowed the user to define a set of engines that they will want to only use, we go one step further and allow them to bind those engines into a single virtual instance. Submitting a batch to the virtual engine will then forward it to any one of the set in a manner as best to distribute