dma-buf-map: Add memcpy and pointer-increment interfaces
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Nov 2020 09:30:14 +0000 (10:30 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 9 Nov 2020 08:19:52 +0000 (09:19 +0100)
commitb4e7090c242ec64bfa77a69ea7c3cceba21c7a65
tree530b98cb89ed03fdbb1d9d6b2e2c77fc12b42403
parenta85955568939e20e573cf42095d90c8476c9cec1
dma-buf-map: Add memcpy and pointer-increment interfaces

To do framebuffer updates, one needs memcpy from system memory and a
pointer-increment function. Add both interfaces with documentation.

v5:
* include <linux/string.h> to build on sparc64 (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201103093015.1063-10-tzimmermann@suse.de
include/linux/dma-buf-map.h