aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Palminha <CARLOS.PALMINHA@synopsys.com>2016-02-16 09:17:33 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-03-04 11:54:22 -0500
commit1323963f96d30e15fa6972511048fe90bc15c958 (patch)
treed9266cba482d78591243b29c5def84cc2f7cb5d6
parent2a1dc26bdb68b0694409fbf375612a43dd255074 (diff)
drm/udl: 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/11327d1a3c3b6623064f6d82efa96e7993f77f38.1455630967.git.palminha@synopsys.com
-rw-r--r--drivers/gpu/drm/udl/udl_modeset.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/udl/udl_modeset.c b/drivers/gpu/drm/udl/udl_modeset.c
index 160ef2a08b89..b87afee44995 100644
--- a/drivers/gpu/drm/udl/udl_modeset.c
+++ b/drivers/gpu/drm/udl/udl_modeset.c
@@ -279,14 +279,6 @@ static void udl_crtc_dpms(struct drm_crtc *crtc, int mode)
279 279
280} 280}
281 281
282static bool udl_crtc_mode_fixup(struct drm_crtc *crtc,
283 const struct drm_display_mode *mode,
284 struct drm_display_mode *adjusted_mode)
285
286{
287 return true;
288}
289
290#if 0 282#if 0
291static int 283static int
292udl_pipe_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb, 284udl_pipe_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb,
@@ -402,7 +394,6 @@ static void udl_crtc_commit(struct drm_crtc *crtc)
402 394
403static const struct drm_crtc_helper_funcs udl_helper_funcs = { 395static const struct drm_crtc_helper_funcs udl_helper_funcs = {
404 .dpms = udl_crtc_dpms, 396 .dpms = udl_crtc_dpms,
405 .mode_fixup = udl_crtc_mode_fixup,
406 .mode_set = udl_crtc_mode_set, 397 .mode_set = udl_crtc_mode_set,
407 .prepare = udl_crtc_prepare, 398 .prepare = udl_crtc_prepare,
408 .commit = udl_crtc_commit, 399 .commit = udl_crtc_commit,