Move all format-specific handling in per-line conversion functions and share the overall loop among conversion helpers. This is another step towards composable format conversion. Thomas Zimmermann (4): drm/format-helper: Implement drm_fb_swab() with per-line helpers drm/format-helper: Remove optional byte-swap from line convertion drm/format-helper: Unify the parameters of all per-line conversion helpers drm/format-helper: Share implementation among conversion helpers drivers/gpu/drm/drm_format_helper.c | 479 ++++++++++++---------------- 1 file changed, 198 insertions(+), 281 deletions(-) -- 2.36.0