diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2012-11-23 09:09:26 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-29 05:42:37 -0500 |
commit | 374a868a726eb8a1cb28ba88805e51ce34222f8d (patch) | |
tree | c6d63768af759869d9b196571d5a5c74640ccd2e /include/drm/drm_crtc.h | |
parent | 2ff4aeac39dbdcac934694413767f09a27965e11 (diff) |
drm: add drm_mode_cea_vic
This function returns the VIC of the mode. This value can be used when
creating AVI InfoFrames.
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=50371
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_crtc.h')
-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 c0635b7f8696..3538eda94ef5 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -1055,6 +1055,7 @@ extern struct drm_display_mode *drm_gtf_mode_complex(struct drm_device *dev, | |||
1055 | int GTF_2C, int GTF_K, int GTF_2J); | 1055 | int GTF_2C, int GTF_K, int GTF_2J); |
1056 | extern int drm_add_modes_noedid(struct drm_connector *connector, | 1056 | extern int drm_add_modes_noedid(struct drm_connector *connector, |
1057 | int hdisplay, int vdisplay); | 1057 | int hdisplay, int vdisplay); |
1058 | extern uint8_t drm_mode_cea_vic(const struct drm_display_mode *mode); | ||
1058 | 1059 | ||
1059 | extern int drm_edid_header_is_valid(const u8 *raw_edid); | 1060 | extern int drm_edid_header_is_valid(const u8 *raw_edid); |
1060 | extern bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid); | 1061 | extern bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid); |