aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_legacy.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-10-11 17:07:12 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2022-10-14 09:51:12 +0200
commitd405bc2c3d82126f58e143708af55105876cf6af (patch)
tree673584a0aa9678a79fc02c3886e44ac1a55e2009 /drivers/gpu/drm/drm_legacy.h
parent4bbb9061081c49ded4908c7716a03f7faf4eb65d (diff)
downloadlinux-d405bc2c3d82126f58e143708af55105876cf6af.tar.gz
drm/ofdrm: Support big-endian scanout buffers
All DRM formats assume little-endian byte order. On big-endian systems, it is likely that the scanout buffer is in big endian as well. Update the format accordingly and add endianness conversion to the format-helper library. Also opt-in to allocated buffers in host format by default. Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221011150712.3928-6-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/drm_legacy.h')
0 files changed, 0 insertions, 0 deletions