Re: [Intel-gfx] [PATCH 35/37] drm/i915: Live testing for context execution

2017-01-13 Thread Chris Wilson
On Fri, Jan 13, 2017 at 04:28:58PM +0200, Joonas Lahtinen wrote: > On ke, 2017-01-11 at 21:09 +, Chris Wilson wrote: > > > For future synchronization purposes, maybe document where the below was > cloned from? It is a routine I've written many times. > > + offset = PAGE_SIZE * first_page

Re: [Intel-gfx] [PATCH 35/37] drm/i915: Live testing for context execution

2017-01-13 Thread Joonas Lahtinen
On ke, 2017-01-11 at 21:09 +, Chris Wilson wrote: > Check we can create and execution within a context. > > Signed-off-by: Chris Wilson > +static struct i915_vma * > +gpu_fill_pages(struct i915_vma *vma, > +    unsigned long first_page, > +    

[Intel-gfx] [PATCH 35/37] drm/i915: Live testing for context execution

2017-01-11 Thread Chris Wilson
Check we can create and execution within a context. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_context.c| 1 + drivers/gpu/drm/i915/selftests/i915_gem_context.c | 302 +