diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2014-11-13 19:30:00 -0500 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-01-25 07:28:06 -0500 |
commit | fd092d7a11a237393f633bdc5b93a3624e872ea6 (patch) | |
tree | f94d305d63ca3b661a860902e46895f62fe0ff78 /drivers/gpu | |
parent | 8b9c45050348ba2dc2d74b2755bf2cb629a42a8f (diff) |
drm/exynos: remove exynos_drm_crtc_mode_set_commit()
This was just as extra chain in the call stack. We just rename it to
_set_base() and let it do everything alone.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_crtc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c index 185dabe4e2b7..5b3d18225fd6 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_crtc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.c | |||
@@ -113,7 +113,7 @@ exynos_drm_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, | |||
113 | crtc_w, crtc_h, x, y, crtc_w, crtc_h); | 113 | crtc_w, crtc_h, x, y, crtc_w, crtc_h); |
114 | } | 114 | } |
115 | 115 | ||
116 | static int exynos_drm_crtc_mode_set_commit(struct drm_crtc *crtc, int x, int y, | 116 | static int exynos_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, |
117 | struct drm_framebuffer *old_fb) | 117 | struct drm_framebuffer *old_fb) |
118 | { | 118 | { |
119 | struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); | 119 | struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); |
@@ -134,12 +134,6 @@ static int exynos_drm_crtc_mode_set_commit(struct drm_crtc *crtc, int x, int y, | |||
134 | crtc_w, crtc_h, x, y, crtc_w, crtc_h); | 134 | crtc_w, crtc_h, x, y, crtc_w, crtc_h); |
135 | } | 135 | } |
136 | 136 | ||
137 | static int exynos_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, | ||
138 | struct drm_framebuffer *old_fb) | ||
139 | { | ||
140 | return exynos_drm_crtc_mode_set_commit(crtc, x, y, old_fb); | ||
141 | } | ||
142 | |||
143 | static void exynos_drm_crtc_disable(struct drm_crtc *crtc) | 137 | static void exynos_drm_crtc_disable(struct drm_crtc *crtc) |
144 | { | 138 | { |
145 | struct drm_plane *plane; | 139 | struct drm_plane *plane; |