[Intel-gfx] [PATCH 04/13] drm/i915: Create/destroy VM (ppGTT) for use with contexts

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 8 15:35:19 UTC 2019


Quoting Tvrtko Ursulin (2019-03-08 15:03:15)
> 
> On 08/03/2019 14:12, Chris Wilson wrote:
> > +/*
> > + * DRM_I915_GEM_VM_CREATE -
> > + *
> > + * Create a new virtual memory address space (ppGTT) for use within a context
> > + * on the same file. Extensions can be provided to configure exactly how the
> > + * address space is setup upon creation.
> > + *
> > + * The id of new VM (bound to the fd) for use with I915_CONTEXT_PARAM_VM is
> > + * returned.
> 
> returned and store in id - do we need both? Maybe return zero or error 
> to make it simpler?

I mean returned in the out parameter. Loose language.
-Chris


More information about the Intel-gfx mailing list