summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bochs/bochs.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-01-11 06:37:38 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-01-14 08:39:08 +0100
commit472fde887f6c8e9a68fcf5902c500c070b5d44e3 (patch)
treeb5c37fac482860d71636200053b2cc418fa9f351 /drivers/gpu/drm/bochs/bochs.h
parent35289661219b49f7832cdd1e9341f3d74dd40aaf (diff)
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
Diffstat (limited to 'drivers/gpu/drm/bochs/bochs.h')
-rw-r--r--drivers/gpu/drm/bochs/bochs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/bochs/bochs.h b/drivers/gpu/drm/bochs/bochs.h
index fb38c8b857b5..4dc1b6384eaa 100644
--- a/drivers/gpu/drm/bochs/bochs.h
+++ b/drivers/gpu/drm/bochs/bochs.h
@@ -121,8 +121,9 @@ int bochs_hw_init(struct drm_device *dev);
void bochs_hw_fini(struct drm_device *dev);
void bochs_hw_setmode(struct bochs_device *bochs,
- struct drm_display_mode *mode,
- const struct drm_format_info *format);
+ struct drm_display_mode *mode);
+void bochs_hw_setformat(struct bochs_device *bochs,
+ const struct drm_format_info *format);
void bochs_hw_setbase(struct bochs_device *bochs,
int x, int y, u64 addr);
int bochs_hw_load_edid(struct bochs_device *bochs);