Re: [PATCH v2 1/3] drm/vram: Add kmap ref-counting to GEM VRAM objects

2019-09-04 Thread Gerd Hoffmann
On Wed, Sep 04, 2019 at 01:56:42PM +0200, Thomas Zimmermann wrote: > The kmap and kunmap operations of GEM VRAM buffers can now be called > in interleaving pairs. The first call to drm_gem_vram_kmap() maps the > buffer's memory to kernel address space and the final call to > drm_gem_vram_kunmap() u

[PATCH v2 1/3] drm/vram: Add kmap ref-counting to GEM VRAM objects

2019-09-04 Thread Thomas Zimmermann
The kmap and kunmap operations of GEM VRAM buffers can now be called in interleaving pairs. The first call to drm_gem_vram_kmap() maps the buffer's memory to kernel address space and the final call to drm_gem_vram_kunmap() unmaps the memory. Intermediate calls to these functions increment or decrem