Skip to content

Commit 4091e54

Browse files
Carlos Palminhadanvet
authored andcommitted
drm/omapdrm: 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> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/101f043d5fa747291c09ae765bac4d55c6e39988.1455630967.git.palminha@synopsys.com
1 parent 1ed3b57 commit 4091e54

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/gpu/drm/omapdrm/omap_crtc.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,6 @@ static void omap_crtc_destroy(struct drm_crtc *crtc)
330330
kfree(omap_crtc);
331331
}
332332

333-
static bool omap_crtc_mode_fixup(struct drm_crtc *crtc,
334-
const struct drm_display_mode *mode,
335-
struct drm_display_mode *adjusted_mode)
336-
{
337-
return true;
338-
}
339-
340333
static void omap_crtc_enable(struct drm_crtc *crtc)
341334
{
342335
struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
@@ -451,7 +444,6 @@ static const struct drm_crtc_funcs omap_crtc_funcs = {
451444
};
452445

453446
static const struct drm_crtc_helper_funcs omap_crtc_helper_funcs = {
454-
.mode_fixup = omap_crtc_mode_fixup,
455447
.mode_set_nofb = omap_crtc_mode_set_nofb,
456448
.disable = omap_crtc_disable,
457449
.enable = omap_crtc_enable,

0 commit comments

Comments
 (0)