diff options
author | Carlos Palminha <CARLOS.PALMINHA@synopsys.com> | 2016-02-15 08:00:13 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-02-16 09:33:05 -0500 |
commit | 8cd09a4ea468e024632340ede7726a93c8b63b45 (patch) | |
tree | f34a503089ac96565a1f5e287ca50db6ba2c2590 /drivers/gpu/drm/imx/imx-tve.c | |
parent | b3c9b8a66f626f3db23353055597918e90c40a06 (diff) |
drm/imx: removed optional dummy encoder mode_fixup function.
mode_fixup function for encoder drivers became optional with patch
http://patchwork.freedesktop.org/patch/msgid/1455106522-32307-1-git-send-email-palminha@synopsys.com
This patch set nukes all the dummy mode_fixup implementations.
(made on top of Daniel topic/drm-misc branch)
Signed-off-by: Carlos Palminha <palminha@synopsys.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/8bf274e8f6908142a9f940d3f2913e4a735e0caa.1455540137.git.palminha@synopsys.com
Diffstat (limited to 'drivers/gpu/drm/imx/imx-tve.c')
-rw-r--r-- | drivers/gpu/drm/imx/imx-tve.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c index 292349f0b132..ae7a9fb3b8a2 100644 --- a/drivers/gpu/drm/imx/imx-tve.c +++ b/drivers/gpu/drm/imx/imx-tve.c | |||
@@ -286,13 +286,6 @@ static void imx_tve_encoder_dpms(struct drm_encoder *encoder, int mode) | |||
286 | dev_err(tve->dev, "failed to disable TVOUT: %d\n", ret); | 286 | dev_err(tve->dev, "failed to disable TVOUT: %d\n", ret); |
287 | } | 287 | } |
288 | 288 | ||
289 | static bool imx_tve_encoder_mode_fixup(struct drm_encoder *encoder, | ||
290 | const struct drm_display_mode *mode, | ||
291 | struct drm_display_mode *adjusted_mode) | ||
292 | { | ||
293 | return true; | ||
294 | } | ||
295 | |||
296 | static void imx_tve_encoder_prepare(struct drm_encoder *encoder) | 289 | static void imx_tve_encoder_prepare(struct drm_encoder *encoder) |
297 | { | 290 | { |
298 | struct imx_tve *tve = enc_to_tve(encoder); | 291 | struct imx_tve *tve = enc_to_tve(encoder); |
@@ -379,7 +372,6 @@ static const struct drm_encoder_funcs imx_tve_encoder_funcs = { | |||
379 | 372 | ||
380 | static const struct drm_encoder_helper_funcs imx_tve_encoder_helper_funcs = { | 373 | static const struct drm_encoder_helper_funcs imx_tve_encoder_helper_funcs = { |
381 | .dpms = imx_tve_encoder_dpms, | 374 | .dpms = imx_tve_encoder_dpms, |
382 | .mode_fixup = imx_tve_encoder_mode_fixup, | ||
383 | .prepare = imx_tve_encoder_prepare, | 375 | .prepare = imx_tve_encoder_prepare, |
384 | .mode_set = imx_tve_encoder_mode_set, | 376 | .mode_set = imx_tve_encoder_mode_set, |
385 | .commit = imx_tve_encoder_commit, | 377 | .commit = imx_tve_encoder_commit, |