Re: [Intel-gfx] [RFC PATCH 3/3] drm/i915: add SVM execbuf ioctl v13

2017-02-07 Thread Chris Wilson
On Tue, Feb 07, 2017 at 02:11:41PM +0200, Mika Kuoppala wrote: > Chris Wilson writes: > >> +static struct intel_engine_cs * > >> +exec_mm_select_engine(const struct drm_i915_private *dev_priv, > >> +const struct drm_i915_exec_mm *exec_mm) > >> +{ > >> + const unsigned int user_rin

Re: [Intel-gfx] [RFC PATCH 3/3] drm/i915: add SVM execbuf ioctl v13

2017-02-07 Thread Mika Kuoppala
Chris Wilson writes: > On Mon, Jan 09, 2017 at 06:52:54PM +0200, Mika Kuoppala wrote: >> From: Jesse Barnes >> >> We just need to pass in an address to execute and some flags, since we >> don't have to worry about buffer relocation or any of the other usual >> stuff. Takes in a fance and retur

Re: [Intel-gfx] [RFC PATCH 3/3] drm/i915: add SVM execbuf ioctl v13

2017-01-09 Thread Chris Wilson
On Mon, Jan 09, 2017 at 06:52:54PM +0200, Mika Kuoppala wrote: > From: Jesse Barnes > > We just need to pass in an address to execute and some flags, since we > don't have to worry about buffer relocation or any of the other usual > stuff. Takes in a fance and returns a fence to be used for > sy

[Intel-gfx] [RFC PATCH 3/3] drm/i915: add SVM execbuf ioctl v13

2017-01-09 Thread Mika Kuoppala
From: Jesse Barnes We just need to pass in an address to execute and some flags, since we don't have to worry about buffer relocation or any of the other usual stuff. Takes in a fance and returns a fence to be used for synchronization. v2: add a request after batch submission (Jesse) v3: add a