drm/format-helper: Comment on RGB888 byte order
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 2 Jan 2023 11:29:16 +0000 (12:29 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Jan 2023 13:23:24 +0000 (14:23 +0100)
commita5b1a681dcac2eb75129e5e1bc2530dbd6febc44
treecbc1daac9aa9b1820f0555f62848131b7a3608b3
parentf35cd3fa77293c2cd03e94b6a6151e1a7d9309cf
drm/format-helper: Comment on RGB888 byte order

RGB888 is different than the other formats as most of its pixels are
unaligned and therefore helper functions do not use endianness conversion
helpers. Comment on this in the source code.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230102112927.26565-3-tzimmermann@suse.de
drivers/gpu/drm/drm_format_helper.c
drivers/gpu/drm/tests/drm_format_helper_test.c