aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMa Ling <ling.ma@intel.com>2009-03-26 07:26:23 -0400
committerDave Airlie <airlied@redhat.com>2009-03-29 04:31:49 -0400
commitf23c20c83d523e5f8cda1f8f7ed52fe6afffbe29 (patch)
treec0888eeee7f76b46151264294222bf74190b385c /include
parentdba5ed0cd12d8db5c0d2e1c869c2a50c5bcf6743 (diff)
drm: detect hdmi monitor by hdmi identifier (v3)
Sometime we need to communicate with HDMI monitor by sending audio or video info frame, so we have to know monitor type. However if user utilize HDMI-DVI adapter to connect DVI monitor, hardware detection will incorrectly show the monitor is HDMI. HDMI spec tell us that any device containing IEEE registration Identifier will be treated as HDMI device. The patch intends to detect HDMI monitor by this rule. Signed-off-by: Ma Ling <ling.ma@intel.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 9022b2468182..3c1924c010e8 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -732,4 +732,5 @@ extern int drm_mode_gamma_get_ioctl(struct drm_device *dev,
732 void *data, struct drm_file *file_priv); 732 void *data, struct drm_file *file_priv);
733extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, 733extern int drm_mode_gamma_set_ioctl(struct drm_device *dev,
734 void *data, struct drm_file *file_priv); 734 void *data, struct drm_file *file_priv);
735extern bool drm_detect_hdmi_monitor(struct edid *edid);
735#endif /* __DRM_CRTC_H__ */ 736#endif /* __DRM_CRTC_H__ */