diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-09-03 03:33:48 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-07 10:44:40 +0200 |
commit | f0fda0a47b26aba986fe65897891956c1792b526 (patch) | |
tree | c3f53a5653179b51625f5f7962bae89f30282691 /include/drm | |
parent | drm/kms: try to find the std mode in DMT table (diff) | |
download | linux-f0fda0a47b26aba986fe65897891956c1792b526.tar.xz 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')
-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__ */ |