[PATCH 1/3] drm/vram: Provide vmap and vunmap operations for GEM VRAM objects

2019-09-11 Thread Thomas Zimmermann
The implementation of vmap and vunmap for GEM VRAM helpers is already in PRIME helpers. The patch moves the operations to separate functions and exports them for general use. v3: * remove v2's obsolete note on ref-counting v2: * fix documentation * add cross references to f

Re: [PATCH 1/3] drm/vram: Provide vmap and vunmap operations for GEM VRAM objects

2019-07-24 Thread Thomas Zimmermann
Hi Am 24.07.19 um 14:00 schrieb Daniel Vetter: > On Wed, Jul 24, 2019 at 1:30 PM Thomas Zimmermann wrote: >> >> The pattern of temporarily pinning and kmap-ing the BO's memory is >> common enough to justify helper functions that do and undo these >> operations. >> >> The implementation of vmap an

Re: [PATCH 1/3] drm/vram: Provide vmap and vunmap operations for GEM VRAM objects

2019-07-24 Thread Daniel Vetter
On Wed, Jul 24, 2019 at 1:30 PM Thomas Zimmermann wrote: > > The pattern of temporarily pinning and kmap-ing the BO's memory is > common enough to justify helper functions that do and undo these > operations. > > The implementation of vmap and vunmap for GEM VRAM helpers is > already in PRIME help

[PATCH 1/3] drm/vram: Provide vmap and vunmap operations for GEM VRAM objects

2019-07-24 Thread Thomas Zimmermann
The pattern of temporarily pinning and kmap-ing the BO's memory is common enough to justify helper functions that do and undo these operations. The implementation of vmap and vunmap for GEM VRAM helpers is already in PRIME helpers. The patch moves the operations to separate functions and exports t