diff options
author | Ma Ling <ling.ma@intel.com> | 2009-03-26 19:26:23 +0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-29 18:31:49 +1000 |
commit | f23c20c83d523e5f8cda1f8f7ed52fe6afffbe29 (patch) | |
tree | c0888eeee7f76b46151264294222bf74190b385c /include | |
parent | dba5ed0cd12d8db5c0d2e1c869c2a50c5bcf6743 (diff) | |
download | talos-op-linux-f23c20c83d523e5f8cda1f8f7ed52fe6afffbe29.tar.gz talos-op-linux-f23c20c83d523e5f8cda1f8f7ed52fe6afffbe29.zip |
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.h | 1 |
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, void *data, struct drm_file *file_priv); extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv); +extern bool drm_detect_hdmi_monitor(struct edid *edid); #endif /* __DRM_CRTC_H__ */ |