diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-09-02 21:33:48 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-07 04:44:40 -0400 |
commit | f0fda0a47b26aba986fe65897891956c1792b526 (patch) | |
tree | c3f53a5653179b51625f5f7962bae89f30282691 /include/drm/drm_crtc.h | |
parent | 559ee21d261a54c42594ef9405d27e9008eedf44 (diff) |
drm/kms: add a function that can add the mode for the output device without EDID
Add a function that can be used to add the default mode for the output device
without EDID.
It will add the default mode that meets with the requirements of given
hdisplay/vdisplay limit.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index b0427a70fcbd..ae1e9e166959 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -750,4 +750,6 @@ extern struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, | |||
750 | extern struct drm_display_mode *drm_gtf_mode(struct drm_device *dev, | 750 | extern struct drm_display_mode *drm_gtf_mode(struct drm_device *dev, |
751 | int hdisplay, int vdisplay, int vrefresh, | 751 | int hdisplay, int vdisplay, int vrefresh, |
752 | bool interlaced, int margins); | 752 | bool interlaced, int margins); |
753 | extern int drm_add_modes_noedid(struct drm_connector *connector, | ||
754 | int hdisplay, int vdisplay); | ||
753 | #endif /* __DRM_CRTC_H__ */ | 755 | #endif /* __DRM_CRTC_H__ */ |