drm/omapdrm: removed optional dummy crtc mode_fixup function.
authorCarlos Palminha <CARLOS.PALMINHA@synopsys.com>
Tue, 16 Feb 2016 14:18:12 +0000 (14:18 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Mar 2016 16:59:02 +0000 (17:59 +0100)
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
drivers/gpu/drm/omapdrm/omap_crtc.c

index d38fcbcc43a82383a4b4e5fdd4405384f140f0e6..483acdbd664bbc728d23bea33c8e3b798eb86bad 100644 (file)
@@ -330,13 +330,6 @@ static void omap_crtc_destroy(struct drm_crtc *crtc)
        kfree(omap_crtc);
 }
 
-static bool omap_crtc_mode_fixup(struct drm_crtc *crtc,
-               const struct drm_display_mode *mode,
-               struct drm_display_mode *adjusted_mode)
-{
-       return true;
-}
-
 static void omap_crtc_enable(struct drm_crtc *crtc)
 {
        struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
@@ -451,7 +444,6 @@ static const struct drm_crtc_funcs omap_crtc_funcs = {
 };
 
 static const struct drm_crtc_helper_funcs omap_crtc_helper_funcs = {
-       .mode_fixup = omap_crtc_mode_fixup,
        .mode_set_nofb = omap_crtc_mode_set_nofb,
        .disable = omap_crtc_disable,
        .enable = omap_crtc_enable,