diff options
author | Ma Ling <ling.ma@intel.com> | 2009-03-26 12:26:23 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-29 10:31:49 +0200 |
commit | f23c20c83d523e5f8cda1f8f7ed52fe6afffbe29 (patch) | |
tree | c0888eeee7f76b46151264294222bf74190b385c /include/drm | |
parent | drm: drm_fops.c unlock missing on error path (diff) | |
download | linux-f23c20c83d523e5f8cda1f8f7ed52fe6afffbe29.tar.xz 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/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 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__ */ |