diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-09-03 09:33:48 +0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-07 18:44:40 +1000 |
commit | f0fda0a47b26aba986fe65897891956c1792b526 (patch) | |
tree | c3f53a5653179b51625f5f7962bae89f30282691 /include/drm/drm_crtc.h | |
parent | 559ee21d261a54c42594ef9405d27e9008eedf44 (diff) | |
download | blackbird-op-linux-f0fda0a47b26aba986fe65897891956c1792b526.tar.gz blackbird-op-linux-f0fda0a47b26aba986fe65897891956c1792b526.zip |
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, extern struct drm_display_mode *drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool interlaced, int margins); +extern int drm_add_modes_noedid(struct drm_connector *connector, + int hdisplay, int vdisplay); #endif /* __DRM_CRTC_H__ */ |