summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_crtc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-05-07 05:02:30 +0000
committerDave Airlie <airlied@redhat.com>2010-05-18 17:40:22 +1000
commit1d42bbc8f7f9ce4d852692ef7aa336b133b0830a (patch)
treea0ea2d17508104ab681c829f0552e7f13512c8e2 /include/drm/drm_crtc.h
parenteb1f8e4f3be898df808e2dfc131099f5831d491d (diff)
downloadop-kernel-dev-1d42bbc8f7f9ce4d852692ef7aa336b133b0830a.zip
op-kernel-dev-1d42bbc8f7f9ce4d852692ef7aa336b133b0830a.tar.gz
drm/fbdev: fix cloning on fbcon
Simple cloning rules compared to server: (a) single crtc (b) > 1 connector active (c) check command line mode (d) try and find 1024x768 DMT mode if no command line. (e) fail to clone Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
-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 2e4bf92..93a1a31 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -804,4 +804,6 @@ extern int drm_add_modes_noedid(struct drm_connector *connector,
int hdisplay, int vdisplay);
extern bool drm_edid_is_valid(struct edid *edid);
+struct drm_display_mode *drm_mode_find_dmt(struct drm_device *dev,
+ int hsize, int vsize, int fresh);
#endif /* __DRM_CRTC_H__ */
OpenPOWER on IntegriCloud