diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2010-09-19 02:27:28 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-19 04:17:32 -0400 |
commit | 8fe9790d1652e7c306c862ea102a5e6126b412e1 (patch) | |
tree | b3cdc7c842eef61efbdd63f791a210aa524df89f /include/drm/drm_crtc.h | |
parent | 6d139a87b747aaebc969ac5f4eb8db766fcd9cbd (diff) |
drm/edid: add helper function to detect monitor audio capability
To help to determine if digital display port needs to enable
audio output or not. This one adds a helper to get monitor's
audio capability via EDID CEA extension block.
Tested-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'include/drm/drm_crtc.h')
-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 15c4796fd467..029aa688e787 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -763,6 +763,7 @@ extern int drm_mode_gamma_get_ioctl(struct drm_device *dev, | |||
763 | extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, | 763 | extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, |
764 | void *data, struct drm_file *file_priv); | 764 | void *data, struct drm_file *file_priv); |
765 | extern bool drm_detect_hdmi_monitor(struct edid *edid); | 765 | extern bool drm_detect_hdmi_monitor(struct edid *edid); |
766 | extern bool drm_detect_monitor_audio(struct edid *edid); | ||
766 | extern int drm_mode_page_flip_ioctl(struct drm_device *dev, | 767 | extern int drm_mode_page_flip_ioctl(struct drm_device *dev, |
767 | void *data, struct drm_file *file_priv); | 768 | void *data, struct drm_file *file_priv); |
768 | extern struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, | 769 | extern struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, |