Re: [Intel-gfx] [PATCH 2/2] drm/i915: Assert that the context-switch completion matches our context

2017-01-23 Thread Chris Wilson
On Mon, Jan 23, 2017 at 10:26:00AM +0200, Joonas Lahtinen wrote: > On la, 2017-01-21 at 17:29 +, Chris Wilson wrote: > > When execlists signals the context completion, it also provides the > > context id for the status event. Assert that id matches the one we expect. > > > > Signed-off-by:

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Assert that the context-switch completion matches our context

2017-01-23 Thread Joonas Lahtinen
On la, 2017-01-21 at 17:29 +, Chris Wilson wrote: > When execlists signals the context completion, it also provides the > context id for the status event. Assert that id matches the one we expect. > > Signed-off-by: Chris Wilson > @@ -595,6 +595,10 @@ static void

[Intel-gfx] [PATCH 2/2] drm/i915: Assert that the context-switch completion matches our context

2017-01-21 Thread Chris Wilson
When execlists signals the context completion, it also provides the context id for the status event. Assert that id matches the one we expect. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_lrc.c | 4 1 file changed, 4 insertions(+) diff --git