Re: [Intel-gfx] [PATCH 06/22] drm/i915: Pass intel_context to i915_request_create()

2019-04-03 Thread Chris Wilson
Quoting Chris Wilson (2019-04-03 08:54:41) > Quoting Tvrtko Ursulin (2019-04-02 14:17:30) > > > > On 25/03/2019 09:03, Chris Wilson wrote: > > > @@ -727,17 +695,19 @@ i915_request_alloc(struct intel_engine_cs *engine, > > > struct i915_gem_context *ctx) > > > if (ret) > > > go

Re: [Intel-gfx] [PATCH 06/22] drm/i915: Pass intel_context to i915_request_create()

2019-04-03 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-04-02 14:17:30) > > On 25/03/2019 09:03, Chris Wilson wrote: > > @@ -727,17 +695,19 @@ i915_request_alloc(struct intel_engine_cs *engine, > > struct i915_gem_context *ctx) > > if (ret) > > goto err_unwind; > > > > - ret = engine->request_all

Re: [Intel-gfx] [PATCH 06/22] drm/i915: Pass intel_context to i915_request_create()

2019-04-02 Thread Tvrtko Ursulin
On 25/03/2019 09:03, Chris Wilson wrote: Start acquiring the logical intel_context and using that as our primary means for request allocation. This is the initial step to allow us to avoid requiring struct_mutex for request allocation along the perma-pinned kernel context, but it also provides a