]> git.baikalelectronics.ru Git - kernel.git/commit
drm/format-helper: Rework format-helper memcpy functions
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Nov 2021 10:36:55 +0000 (11:36 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 11 Nov 2021 11:06:57 +0000 (12:06 +0100)
commit4dd5b004827f1ba71b4581982234e1f40a3963b4
tree2c2232532feb283969f9482ec7f0c4f556b24a1e
parent79006220e43451ed45c41c38c0e74bc6c49c02ae
drm/format-helper: Rework format-helper memcpy functions

Move destination-buffer clipping from all format-helper memcpy
function into callers. Support destination-buffer pitch. Only
distinguish between system and I/O memory, but use same logic
everywhere.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211110103702.374-3-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/drm_mipi_dbi.c
drivers/gpu/drm/gud/gud_pipe.c
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c
drivers/gpu/drm/mgag200/mgag200_mode.c
drivers/gpu/drm/tiny/cirrus.c
include/drm/drm_format_helper.h