diff options
author | Jani Nikula <jani.nikula@intel.com> | 2013-09-27 08:08:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-09-30 20:31:01 -0400 |
commit | 51f8da5916f85c18b696f74f97970e5a7330147e (patch) | |
tree | dbda932b06e62425c2cdfc33a06040fac3de118d /include/drm | |
parent | c9ff160b169b4db1e562001f08add446c1f469c7 (diff) |
drm/edid: add drm_edid_duplicate
We have some code duplication related to EDID duplication. Add a helper.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 24f499569a2f..92e782060199 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -964,6 +964,7 @@ extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_m | |||
964 | extern bool drm_probe_ddc(struct i2c_adapter *adapter); | 964 | extern bool drm_probe_ddc(struct i2c_adapter *adapter); |
965 | extern struct edid *drm_get_edid(struct drm_connector *connector, | 965 | extern struct edid *drm_get_edid(struct drm_connector *connector, |
966 | struct i2c_adapter *adapter); | 966 | struct i2c_adapter *adapter); |
967 | extern struct edid *drm_edid_duplicate(const struct edid *edid); | ||
967 | extern int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid); | 968 | extern int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid); |
968 | extern void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode); | 969 | extern void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode); |
969 | extern void drm_mode_copy(struct drm_display_mode *dst, const struct drm_display_mode *src); | 970 | extern void drm_mode_copy(struct drm_display_mode *dst, const struct drm_display_mode *src); |