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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux