diff options
author | Rob Clark <robdclark@gmail.com> | 2014-05-30 12:29:48 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-04 20:02:40 -0400 |
commit | 5ea1f752ae04be403a3dc8ec876a60d7f5f6990a (patch) | |
tree | 74b622f4eae713fdafc6aa946cfde3153580772c /include/drm | |
parent | 51fd371bbaf94018a1223b4e2cf20b9880fd92d4 (diff) |
drm: add drm_fb_helper_restore_fbdev_mode_unlocked()
All drm_fb_helper_restore_fbdev_mode() call sites, save one, do the same
locking. Simplify this into drm_fb_helper_restore_fbdev_mode_unlocked().
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_fb_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 6e622f7d481d..7997246d4039 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h | |||
@@ -108,7 +108,7 @@ int drm_fb_helper_set_par(struct fb_info *info); | |||
108 | int drm_fb_helper_check_var(struct fb_var_screeninfo *var, | 108 | int drm_fb_helper_check_var(struct fb_var_screeninfo *var, |
109 | struct fb_info *info); | 109 | struct fb_info *info); |
110 | 110 | ||
111 | bool drm_fb_helper_restore_fbdev_mode(struct drm_fb_helper *fb_helper); | 111 | bool drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper); |
112 | void drm_fb_helper_fill_var(struct fb_info *info, struct drm_fb_helper *fb_helper, | 112 | void drm_fb_helper_fill_var(struct fb_info *info, struct drm_fb_helper *fb_helper, |
113 | uint32_t fb_width, uint32_t fb_height); | 113 | uint32_t fb_width, uint32_t fb_height); |
114 | void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch, | 114 | void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch, |