linux/drivers/gpu/drm/gud
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
..
gud_connector.c drm/gud: switch to struct drm_edid 2024-04-22 21:44:31 +03:00
gud_drv.c drm/gud: Set struct drm_device.dma_dev 2025-03-12 09:03:58 +01:00
gud_internal.h drm/gud: Set struct drm_device.dma_dev 2025-03-12 09:03:58 +01:00
gud_pipe.c drm/format-helper: Split off byte swapping from drm_fb_xrgb8888_to_rgb565() 2025-06-27 15:59:23 +02:00
Kconfig drm/gud: Run DRM default client setup 2024-09-26 09:31:28 +02:00
Makefile