Chris Wilson <ch...@chris-wilson.co.uk> writes:

> On Mon, Aug 15, 2016 at 02:48:04PM +0300, Mika Kuoppala wrote:
>> From: Jesse Barnes <jbar...@virtuousgeek.org>
>> 
>> Add i915_gem_context_create2_ioctl for passing flags
>> (e.g. SVM) when creating a context.
>> 
>> v2: check the pad on create_context
>> v3: rebase
>> v4: i915_dma is no more. create_gvt needs flags
>> 
>> Cc: Daniel Vetter <daniel.vet...@ffwll.ch>
>> Cc: Chris Wilson <ch...@chris-wilson.co.uk>
>> Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com>
>> Signed-off-by: Jesse Barnes <jbar...@virtuousgeek.org> (v1)
>> Signed-off-by: Mika Kuoppala <mika.kuopp...@intel.com>
>
> Considering we can use deferred ppgtt creation and have setparam do we
> need a new create ioctl just to set a flag?

So like this:

- create ctx with the default create ioctl
- set cxt param it for svm capable.
- first submit deferred creates

And we use the setparam point for returning
error if svm context are not there.

?
-Mika

> -Chris
>
> -- 
> Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to