Re: [Intel-gfx] [PATCH 03/59] drm/prime: Update docs

2019-06-17 Thread Emil Velikov
On 2019/06/14, Daniel Vetter wrote: > Yes this is a bit a big patch, but since it's essentially a complete > rewrite of all the prime docs I didn't see how to better split it up. > > Changes: > - Consistently point to drm_gem_object_funcs as the preferred hooks, > where applicable. > > -

Re: [PATCH 03/59] drm/prime: Update docs

2019-06-17 Thread Sam Ravnborg
Hi Daniel. > > > +/** > > > + * DOC: overview and lifetime rules > > > + * > > > + * Similar to GEM global names, PRIME file descriptors are also used to > > > share > > > + * buffer objects across processes. They offer additional security: as > > > file > > > + * descriptors must be explicitly

Re: [PATCH 03/59] drm/prime: Update docs

2019-06-17 Thread Daniel Vetter
On Sat, Jun 15, 2019 at 01:41:53PM +0200, Sam Ravnborg wrote: > Hi Daniel > > Better and more consistent docs - good! > With relevant comments addressed: > Reviewed-by: Sam Ravnborg > > > +/** > > + * DOC: overview and lifetime rules > > + * > > + * Similar to GEM global names, PRIME file

Re: [PATCH 03/59] drm/prime: Update docs

2019-06-15 Thread Sam Ravnborg
Hi Daniel Better and more consistent docs - good! With relevant comments addressed: Reviewed-by: Sam Ravnborg > +/** > + * DOC: overview and lifetime rules > + * > + * Similar to GEM global names, PRIME file descriptors are also used to share > + * buffer objects across processes. They offer

[PATCH 03/59] drm/prime: Update docs

2019-06-14 Thread Daniel Vetter
Yes this is a bit a big patch, but since it's essentially a complete rewrite of all the prime docs I didn't see how to better split it up. Changes: - Consistently point to drm_gem_object_funcs as the preferred hooks, where applicable. - Reorder all the functions in drm_prime.[hc] into three