commit | 86351de023dd3607b1b519f58c11154b217ec031 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Sep 21 15:47:02 2018 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Sep 25 14:49:49 2018 +0200 |
tree | df5497c3c4f787e29a62bd0b1df7c1812311374c | |
parent | 48b442238250bd27edfef13ab314b295b2734cc4 [diff] |
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