OSDN Git Service

drm/format-helper: Streamline blit-helper interface
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Nov 2021 10:36:58 +0000 (11:36 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 11 Nov 2021 11:06:57 +0000 (12:06 +0100)
commit19b20a8021315fce38ae95607e5de389913471a7
tree015bd3395b215283fbf3cb37a645e434be52cede
parent53bc2098d2b6ccff25fe13f9345cbb5c0ef34a99
drm/format-helper: Streamline blit-helper interface

Move destination-buffer clipping from format-helper blit function into
caller. Rename drm_fb_blit_rect_dstclip() to drm_fb_blit_toio(). Done for
consistency with the rest of the interface. Remove drm_fb_blit_dstclip(),
which isn't required.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211110103702.374-6-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/tiny/simpledrm.c
include/drm/drm_format_helper.h