diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-21 15:47:02 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-25 14:49:49 +0200 |
commit | 86351de023dd3607b1b519f58c11154b217ec031 (patch) | |
tree | df5497c3c4f787e29a62bd0b1df7c1812311374c /mm/rmap.c | |
parent | 48b442238250bd27edfef13ab314b295b2734cc4 (diff) | |
download | linux-86351de023dd3607b1b519f58c11154b217ec031.tar.bz2 |
drm/bochs: support changing byteorder at mode set time
Add bochs_hw_set_*_endian() helper functions, to set the framebuffer
byteorder at mode set time. Support both DRM_FORMAT_XRGB8888 and
DRM_FORMAT_BGRX8888 framebuffer formats, no matter what the native
machine byte order is.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20180921134704.12826-5-kraxel@redhat.com
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions