Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4091e54e authored by Carlos Palminha's avatar Carlos Palminha Committed by Daniel Vetter
Browse files

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: default avatarCarlos Palminha <palminha@synopsys.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/101f043d5fa747291c09ae765bac4d55c6e39988.1455630967.git.palminha@synopsys.com
parent 1ed3b573
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -330,13 +330,6 @@ static void omap_crtc_destroy(struct drm_crtc *crtc)
	kfree(omap_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)
static void omap_crtc_enable(struct drm_crtc *crtc)
{
{
	struct omap_crtc *omap_crtc = to_omap_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 = {
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,
	.mode_set_nofb = omap_crtc_mode_set_nofb,
	.disable = omap_crtc_disable,
	.disable = omap_crtc_disable,
	.enable = omap_crtc_enable,
	.enable = omap_crtc_enable,