]> git.karo-electronics.de Git - linux-beck.git/commit
drm: make mode_valid callback optional
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 2 Apr 2014 10:29:46 +0000 (12:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Apr 2014 09:18:12 +0000 (11:18 +0200)
commitf9b0e251dfbf2c4da642ec9210db29a7ac63b81a
tree9344941cc3a0e578dcfe88da49b016e3ff90c44b
parent0967e6a5070e336507ce52f09f7297413b966981
drm: make mode_valid callback optional

Many drm connectors do not need mode validation.
The patch makes this callback optional and removes dumb implementations.

v2: Rebase:
- imx move to a shared (but still dummy) ->mode_valid implementation.
- probe helpers have been extracted to drm_probe_helper.c

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> (v1)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
18 files changed:
Documentation/DocBook/drm.tmpl
drivers/gpu/drm/ast/ast_mode.c
drivers/gpu/drm/bridge/ptn3460.c
drivers/gpu/drm/cirrus/cirrus_mode.c
drivers/gpu/drm/drm_probe_helper.c
drivers/gpu/drm/exynos/exynos_dp_core.c
drivers/gpu/drm/exynos/exynos_drm_dpi.c
drivers/gpu/drm/exynos/exynos_drm_vidi.c
drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c
drivers/gpu/drm/rcar-du/rcar_du_vgacon.c
drivers/gpu/drm/shmobile/shmob_drm_crtc.c
drivers/staging/imx-drm/imx-drm-core.c
drivers/staging/imx-drm/imx-drm.h
drivers/staging/imx-drm/imx-hdmi.c
drivers/staging/imx-drm/imx-ldb.c
drivers/staging/imx-drm/imx-tve.c
drivers/staging/imx-drm/parallel-display.c
include/drm/drm_crtc_helper.h