[Intel-gfx] [PATCH i-g-t] i915/gem_ctx_engine: Prevent preemption

2019-06-18 Thread Chris Wilson
In order to pin the engine as busy, we have to prevent the kernel from executing other independent work ahead of our plug, so tell the spinner to not allow preemption. Signed-off-by: Chris Wilson --- tests/i915/gem_ctx_engines.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_ctx_engine: Prevent preemption

2019-06-18 Thread Tvrtko Ursulin
On 18/06/2019 21:21, Chris Wilson wrote: In order to pin the engine as busy, we have to prevent the kernel from executing other independent work ahead of our plug, so tell the spinner to not allow preemption. Signed-off-by: Chris Wilson --- tests/i915/gem_ctx_engines.c | 3 ++- 1 file chang

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_ctx_engine: Prevent preemption

2019-06-19 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-06-19 07:32:05) > > On 18/06/2019 21:21, Chris Wilson wrote: > > In order to pin the engine as busy, we have to prevent the kernel from > > executing other independent work ahead of our plug, so tell the spinner > > to not allow preemption. > > > > Signed-off-by: Chri

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_ctx_engine: Prevent preemption

2019-06-19 Thread Tvrtko Ursulin
On 19/06/2019 09:34, Chris Wilson wrote: Quoting Tvrtko Ursulin (2019-06-19 07:32:05) On 18/06/2019 21:21, Chris Wilson wrote: In order to pin the engine as busy, we have to prevent the kernel from executing other independent work ahead of our plug, so tell the spinner to not allow preemption

Re: [Intel-gfx] [PATCH i-g-t] i915/gem_ctx_engine: Prevent preemption

2019-06-19 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-06-19 09:44:18) > > On 19/06/2019 09:34, Chris Wilson wrote: > > Quoting Tvrtko Ursulin (2019-06-19 07:32:05) > >> > >> On 18/06/2019 21:21, Chris Wilson wrote: > >>> In order to pin the engine as busy, we have to prevent the kernel from > >>> executing other independe