diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2014-02-12 15:26:24 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-02-12 17:42:16 -0500 |
commit | 2f1046f304b1ab14ea611a01b85f3486f2b9ce5b (patch) | |
tree | 28b20bee0f4ab471931391217bd575c5523d29e4 /include/drm/drm_fb_helper.h | |
parent | bbb5eebf034be22fb4de6e9879a0933d3292cf2f (diff) |
drm: export cmdline and preferred mode functions from fb helper
This allows drivers to use them in custom initial_config functions.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_fb_helper.h')
-rw-r--r-- | include/drm/drm_fb_helper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 471f276ce8f7..2d659dc39972 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h | |||
@@ -121,5 +121,11 @@ bool drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel); | |||
121 | int drm_fb_helper_single_add_all_connectors(struct drm_fb_helper *fb_helper); | 121 | int drm_fb_helper_single_add_all_connectors(struct drm_fb_helper *fb_helper); |
122 | int drm_fb_helper_debug_enter(struct fb_info *info); | 122 | int drm_fb_helper_debug_enter(struct fb_info *info); |
123 | int drm_fb_helper_debug_leave(struct fb_info *info); | 123 | int drm_fb_helper_debug_leave(struct fb_info *info); |
124 | struct drm_display_mode * | ||
125 | drm_has_preferred_mode(struct drm_fb_helper_connector *fb_connector, | ||
126 | int width, int height); | ||
127 | struct drm_display_mode * | ||
128 | drm_pick_cmdline_mode(struct drm_fb_helper_connector *fb_helper_conn, | ||
129 | int width, int height); | ||
124 | 130 | ||
125 | #endif | 131 | #endif |