Re: [Intel-gfx] [PATCH 20/57] drm/i915: Wrap access to intel_engine.active

2021-02-04 Thread Tvrtko Ursulin
On 04/02/2021 11:56, Chris Wilson wrote: Quoting Chris Wilson (2021-02-04 11:18:29) Quoting Tvrtko Ursulin (2021-02-04 11:07:07) On 01/02/2021 08:56, Chris Wilson wrote: diff --git a/drivers/gpu/drm/i915/gt/intel_execlists_submission.c b/drivers/gpu/drm/i915/gt/intel_execlists_submission.

Re: [Intel-gfx] [PATCH 20/57] drm/i915: Wrap access to intel_engine.active

2021-02-04 Thread Chris Wilson
Quoting Chris Wilson (2021-02-04 11:18:29) > Quoting Tvrtko Ursulin (2021-02-04 11:07:07) > > > > > > On 01/02/2021 08:56, Chris Wilson wrote: > > > diff --git a/drivers/gpu/drm/i915/gt/intel_execlists_submission.c > > > b/drivers/gpu/drm/i915/gt/intel_execlists_submission.c > > > index b56e321e

Re: [Intel-gfx] [PATCH 20/57] drm/i915: Wrap access to intel_engine.active

2021-02-04 Thread Chris Wilson
Quoting Tvrtko Ursulin (2021-02-04 11:07:07) > > > On 01/02/2021 08:56, Chris Wilson wrote: > > diff --git a/drivers/gpu/drm/i915/gt/intel_execlists_submission.c > > b/drivers/gpu/drm/i915/gt/intel_execlists_submission.c > > index b56e321ef003..280d84c4e4b7 100644 > > --- a/drivers/gpu/drm/i915/

Re: [Intel-gfx] [PATCH 20/57] drm/i915: Wrap access to intel_engine.active

2021-02-04 Thread Tvrtko Ursulin
On 01/02/2021 08:56, Chris Wilson wrote: As we are about to shuffle the lists around to consolidate new control objects, reduce the code movement by wrapping access to the scheduler lists ahead of time. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 17 +++-

[Intel-gfx] [PATCH 20/57] drm/i915: Wrap access to intel_engine.active

2021-02-01 Thread Chris Wilson
As we are about to shuffle the lists around to consolidate new control objects, reduce the code movement by wrapping access to the scheduler lists ahead of time. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 17 +++--- drivers/gpu/drm/i915/gt/intel_engine_types.