]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
iosys-map: Add offset to iosys_map_memcpy_to()
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 16 Feb 2022 17:41:32 +0000 (09:41 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sun, 20 Feb 2022 03:23:52 +0000 (19:23 -0800)
commitcccd73d607fee52f35b4b030408fa5f6c21ef503
tree163fafecc16237121f4c73666b75ad670818c425
parent2f8a6699c90df7616e5dd03cc0c6ea22d589eba2
iosys-map: Add offset to iosys_map_memcpy_to()

In certain situations it's useful to be able to write to an
offset of the mapping. Add a dst_offset to iosys_map_memcpy_to().

Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Christian König <christian.koenig@amd.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220216174147.3073235-2-lucas.demarchi@intel.com
drivers/gpu/drm/drm_cache.c
drivers/gpu/drm/drm_fb_helper.c
include/linux/iosys-map.h