Re: [Intel-gfx] [PATCH v2 06/11] drm/i915: Introduce a preempt context

2017-09-28 Thread Chris Wilson
Quoting Joonas Lahtinen (2017-09-28 13:32:09) > On Wed, 2017-09-27 at 17:44 +0100, Chris Wilson wrote: > > Add another perma-pinned context for using for preemption at any time. > > We cannot just reuse the existing kernel context, as first and foremost > > we need to ensure that we can preempt

Re: [Intel-gfx] [PATCH v2 06/11] drm/i915: Introduce a preempt context

2017-09-28 Thread Joonas Lahtinen
On Wed, 2017-09-27 at 17:44 +0100, Chris Wilson wrote: > Add another perma-pinned context for using for preemption at any time. > We cannot just reuse the existing kernel context, as first and foremost > we need to ensure that we can preempt the kernel context itself, so > require a distinct

[Intel-gfx] [PATCH v2 06/11] drm/i915: Introduce a preempt context

2017-09-27 Thread Chris Wilson
Add another perma-pinned context for using for preemption at any time. We cannot just reuse the existing kernel context, as first and foremost we need to ensure that we can preempt the kernel context itself, so require a distinct context id. Similar to the kernel context, we may want to interrupt