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() unmaps the memory. Intermediate calls to these > functions increment or decrement a reference counter. > > This change allows for keeping buffer memory mapped for longer and > minimizes the amount of changes to TLB, page tables, etc. > > Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de> > Cc: Davidlohr Bueso <d...@stgolabs.net>
Reviewed-by: Gerd Hoffmann <kra...@redhat.com> _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel