drm/format-helper: Add destination-buffer pitch to drm_fb_swab()
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Nov 2021 10:36:56 +0000 (11:36 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 11 Nov 2021 11:06:57 +0000 (12:06 +0100)
commit3e3543c8a19cade02cefde83ee97233d5d90e7e5
tree2976d7ad9445e34bff77b154c6415640a4ec49d3
parent27bd66dd6419c45e320f34ed419cd80833de1161
drm/format-helper: Add destination-buffer pitch to drm_fb_swab()

Add destination-buffer pitch as argument to drm_fb_swab(). Done for
consistency with the rest of the interface.

v2:
* update documentation (Noralf)

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-4-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/drm_mipi_dbi.c
drivers/gpu/drm/gud/gud_pipe.c
include/drm/drm_format_helper.h