diff options
author | Carlos Palminha <CARLOS.PALMINHA@synopsys.com> | 2016-02-16 09:20:02 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-03-04 12:16:51 -0500 |
commit | 7e1f9e890317ed91c860889d7a3668ba5ef37e64 (patch) | |
tree | 7366a22b955b557ccea0f8685d59cb1933960ae4 | |
parent | de3aa0aae639560dfe394aecdcb1f10c79c96b7a (diff) |
drm/bochs: removed optional dummy crtc mode_fixup function.
This patch set nukes all the dummy crtc mode_fixup implementations.
(made on top of Daniel topic/drm-misc branch)
Signed-off-by: Carlos Palminha <palminha@synopsys.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/40a78cafba2cd5b391d244e806613192b3a31413.1455630967.git.palminha@synopsys.com
-rw-r--r-- | drivers/gpu/drm/bochs/bochs_kms.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c index 317c27f2a50b..96926f09e0c9 100644 --- a/drivers/gpu/drm/bochs/bochs_kms.c +++ b/drivers/gpu/drm/bochs/bochs_kms.c | |||
@@ -30,13 +30,6 @@ static void bochs_crtc_dpms(struct drm_crtc *crtc, int mode) | |||
30 | } | 30 | } |
31 | } | 31 | } |
32 | 32 | ||
33 | static bool bochs_crtc_mode_fixup(struct drm_crtc *crtc, | ||
34 | const struct drm_display_mode *mode, | ||
35 | struct drm_display_mode *adjusted_mode) | ||
36 | { | ||
37 | return true; | ||
38 | } | ||
39 | |||
40 | static int bochs_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, | 33 | static int bochs_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, |
41 | struct drm_framebuffer *old_fb) | 34 | struct drm_framebuffer *old_fb) |
42 | { | 35 | { |
@@ -135,7 +128,6 @@ static const struct drm_crtc_funcs bochs_crtc_funcs = { | |||
135 | 128 | ||
136 | static const struct drm_crtc_helper_funcs bochs_helper_funcs = { | 129 | static const struct drm_crtc_helper_funcs bochs_helper_funcs = { |
137 | .dpms = bochs_crtc_dpms, | 130 | .dpms = bochs_crtc_dpms, |
138 | .mode_fixup = bochs_crtc_mode_fixup, | ||
139 | .mode_set = bochs_crtc_mode_set, | 131 | .mode_set = bochs_crtc_mode_set, |
140 | .mode_set_base = bochs_crtc_mode_set_base, | 132 | .mode_set_base = bochs_crtc_mode_set_base, |
141 | .prepare = bochs_crtc_prepare, | 133 | .prepare = bochs_crtc_prepare, |