aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephane Marchesin <marcheu@chromium.org>2012-11-09 11:21:05 -0500
committerDave Airlie <airlied@redhat.com>2012-11-20 00:36:56 -0500
commita4799037c3234830e9feb1823d87f905fb4d080a (patch)
treeaa6bd061fe5cf66a7251105873da5367e71353e4 /include
parent96081cdfae35c1e332be42d89dee278c72d8915d (diff)
drm: get cea video id code for a given display mode
This patch adds support for getting CEA Video ID Code for a given display mode after matching with edid_cea_modes list. Its index in the list added with one, gives the desired code. This exported function will be used by hdmi drivers for composing AVI info frame data. Signed-off-by: Stephane Marchesin <marcheu@chromium.org> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_crtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 49dd8c2eea7d..1f5f1d642a98 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -1037,6 +1037,7 @@ extern int drm_mode_gamma_get_ioctl(struct drm_device *dev,
1037extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, 1037extern int drm_mode_gamma_set_ioctl(struct drm_device *dev,
1038 void *data, struct drm_file *file_priv); 1038 void *data, struct drm_file *file_priv);
1039extern u8 *drm_find_cea_extension(struct edid *edid); 1039extern u8 *drm_find_cea_extension(struct edid *edid);
1040extern u8 drm_match_cea_mode(struct drm_display_mode *to_match);
1040extern bool drm_detect_hdmi_monitor(struct edid *edid); 1041extern bool drm_detect_hdmi_monitor(struct edid *edid);
1041extern bool drm_detect_monitor_audio(struct edid *edid); 1042extern bool drm_detect_monitor_audio(struct edid *edid);
1042extern int drm_mode_page_flip_ioctl(struct drm_device *dev, 1043extern int drm_mode_page_flip_ioctl(struct drm_device *dev,