diff options
author | Ma Ling <ling.ma@intel.com> | 2009-03-20 14:09:48 +0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-29 18:31:41 +1000 |
commit | 167f3a04d7366d65c7fa9a92f0d604cdcf4a11ae (patch) | |
tree | 10474106c3c5e86bd4dbf85322fadcfeb091e093 /include/drm | |
parent | 955a23eb3cfc773e71b05bb7a0a0938a9e1b2568 (diff) | |
download | linux-stable-167f3a04d7366d65c7fa9a92f0d604cdcf4a11ae.tar.gz linux-stable-167f3a04d7366d65c7fa9a92f0d604cdcf4a11ae.tar.bz2 linux-stable-167f3a04d7366d65c7fa9a92f0d604cdcf4a11ae.zip |
drm: read EDID extensions from monitor
Usually drm read basic EDID, that is enough for us, but since igital display
were introduced i.e. HDMI monitor, sometime we need to interact with monitor by
EDID extension information,
EDID extensions include audio/video data block, speaker allocation and vendor specific data blocks.
This patch intends to read EDID extensions from digital monitor for users.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 33ae98ced80e..9022b2468182 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -613,7 +613,8 @@ extern void drm_fb_release(struct drm_file *file_priv); extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_mode_group *group); extern struct edid *drm_get_edid(struct drm_connector *connector, struct i2c_adapter *adapter); -extern unsigned char *drm_do_probe_ddc_edid(struct i2c_adapter *adapter); +extern int drm_do_probe_ddc_edid(struct i2c_adapter *adapter, + unsigned char *buf, int len); extern int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid); extern void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode); extern void drm_mode_remove(struct drm_connector *connector, struct drm_display_mode *mode); |