drm/bochs: split bochs_hw_setmode
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Jan 2019 05:37:38 +0000 (06:37 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 14 Jan 2019 07:39:08 +0000 (08:39 +0100)
commit472fde887f6c8e9a68fcf5902c500c070b5d44e3
treeb5c37fac482860d71636200053b2cc418fa9f351
parent35289661219b49f7832cdd1e9341f3d74dd40aaf
drm/bochs: split bochs_hw_setmode

Create a separate bochs_hw_setformat function to configure
the framebuffer format (actually just the byteorder).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190111053752.4004-3-kraxel@redhat.com
drivers/gpu/drm/bochs/bochs.h
drivers/gpu/drm/bochs/bochs_hw.c
drivers/gpu/drm/bochs/bochs_kms.c