Skip to content

Commit 8a2fa38

Browse files
Carlos Palminhadanvet
authored andcommitted
drm/sti: 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/08d27e27582fb2daa48555ab542245c6cf0a2268.1455630967.git.palminha@synopsys.com
1 parent 4676be1 commit 8a2fa38

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/gpu/drm/sti/sti_crtc.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ static void sti_crtc_disabling(struct drm_crtc *crtc)
5151
mixer->status = STI_MIXER_DISABLING;
5252
}
5353

54-
static bool sti_crtc_mode_fixup(struct drm_crtc *crtc,
55-
const struct drm_display_mode *mode,
56-
struct drm_display_mode *adjusted_mode)
57-
{
58-
/* accept the provided drm_display_mode, do not fix it up */
59-
return true;
60-
}
61-
6254
static int
6355
sti_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode)
6456
{
@@ -229,7 +221,6 @@ static void sti_crtc_atomic_flush(struct drm_crtc *crtc,
229221
static const struct drm_crtc_helper_funcs sti_crtc_helper_funcs = {
230222
.enable = sti_crtc_enable,
231223
.disable = sti_crtc_disabling,
232-
.mode_fixup = sti_crtc_mode_fixup,
233224
.mode_set = drm_helper_crtc_mode_set,
234225
.mode_set_nofb = sti_crtc_mode_set_nofb,
235226
.mode_set_base = drm_helper_crtc_mode_set_base,

0 commit comments

Comments
 (0)