summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2009-09-03 05:33:48 +0400
committerDave Airlie <airlied@redhat.com>2009-09-07 12:44:40 +0400
commitf0fda0a47b26aba986fe65897891956c1792b526 (patch)
treec3f53a5653179b51625f5f7962bae89f30282691 /include/drm
parent559ee21d261a54c42594ef9405d27e9008eedf44 (diff)
downloadlinux-f0fda0a47b26aba986fe65897891956c1792b526.tar.xz
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.h2
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__ */