diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-10-11 17:07:12 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-10-14 09:51:12 +0200 |
commit | d405bc2c3d82126f58e143708af55105876cf6af (patch) | |
tree | 673584a0aa9678a79fc02c3886e44ac1a55e2009 /drivers/gpu/drm/drm_legacy.h | |
parent | 4bbb9061081c49ded4908c7716a03f7faf4eb65d (diff) | |
download | linux-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