summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRené Rebe <rene@exactco.de>2025-12-12 23:05:04 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-12-21 23:44:35 +0300
commit50c26c301c5176cc8b431044390e10ec862b9b77 (patch)
tree058b22bef0f761bbd6cebfda845be09162789c4f /include/linux
parentc83e42990303c05e60001d636212502ed5a2d48a (diff)
downloadlinux-50c26c301c5176cc8b431044390e10ec862b9b77.tar.xz
drm/ast: Swap framebuffer writes on big-endian machines
Swap the pixel data when writing to framebuffer memory on big-endian machines. Fixes incorrect output. Aspeed graphics does not appear to support big-endian framebuffers after AST2400, although the feature has been documented. There's a lengthy discussion at [1]. v5: - avoid restricted cast from __be16 (kernel test robot) Signed-off-by: René Rebe <rene@exactco.de> Link: https://lore.kernel.org/dri-devel/20251202.170626.2134482663677806825.rene@exactco.de/ # [1] Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20251212.210504.1355099120650239629.rene@exactco.de
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions