Files
linux/include/drm
Thomas Zimmermann 8ad00a81d7 drm/format-helper: Split off byte swapping from drm_fb_xrgb8888_to_rgb565()
Move big-endian support from drm_fb_xrgb8888_to_rgb565() into the new
helper drm_xrgb8888_to_rgb565be(). The functionality is required for
displays with big-endian byte order. Update all callers.

With the change applied, drm_fb_xrgb8888_to_rgb565() has the same
signature as the other conversion functions, which is required for
further updates to drm_fb_blit(). Also makes the format-conversion
helper available to panic handlers, if necessary.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250625114911.1121301-1-tzimmermann@suse.de
2025-06-27 15:59:23 +02:00
..
2025-06-06 15:50:22 +02:00
2025-01-08 01:39:58 +02:00
2023-11-14 10:23:12 +01:00
2025-03-06 11:35:42 -08:00
2025-03-06 11:35:25 -08:00
2024-08-23 16:47:56 +02:00
2024-11-21 09:28:11 -06:00
2021-10-04 12:06:14 +02:00