diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-04-02 06:29:46 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-04-22 05:18:12 -0400 |
commit | f9b0e251dfbf2c4da642ec9210db29a7ac63b81a (patch) | |
tree | 9344941cc3a0e578dcfe88da49b016e3ff90c44b /include/drm | |
parent | 0967e6a5070e336507ce52f09f7297413b966981 (diff) |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h index 36a5febac2a6..7ffb59232e84 100644 --- a/include/drm/drm_crtc_helper.h +++ b/include/drm/drm_crtc_helper.h | |||
@@ -114,7 +114,7 @@ struct drm_encoder_helper_funcs { | |||
114 | /** | 114 | /** |
115 | * drm_connector_helper_funcs - helper operations for connectors | 115 | * drm_connector_helper_funcs - helper operations for connectors |
116 | * @get_modes: get mode list for this connector | 116 | * @get_modes: get mode list for this connector |
117 | * @mode_valid: is this mode valid on the given connector? | 117 | * @mode_valid (optional): is this mode valid on the given connector? |
118 | * | 118 | * |
119 | * The helper operations are called by the mid-layer CRTC helper. | 119 | * The helper operations are called by the mid-layer CRTC helper. |
120 | */ | 120 | */ |