]> git.baikalelectronics.ru Git - kernel.git/commit
drm/format-helper: Remove optional byte-swap from line convertion
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 27 Apr 2022 14:14:07 +0000 (16:14 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 5 May 2022 06:54:03 +0000 (08:54 +0200)
commitddd8052c770ba00319e96bee5cda81420221de17
tree7400f7c05b9878e258ffb9ca77a88dba7f0e10fd
parent23c377540d83e514f6717f0961443d6601c4338b
drm/format-helper: Remove optional byte-swap from line convertion

Implement per-pixel byte swapping in a separate conversion helper
for the single function that requires it. Select the correct helper
for each conversion.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220427141409.22842-3-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c