drm/fbdev: fix cloning on fbcon
authorDave Airlie <airlied@redhat.com>
Fri, 7 May 2010 05:02:30 +0000 (05:02 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 07:40:22 +0000 (17:40 +1000)
commit1d42bbc8f7f9ce4d852692ef7aa336b133b0830a
treea0ea2d17508104ab681c829f0552e7f13512c8e2
parenteb1f8e4f3be898df808e2dfc131099f5831d491d
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>
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_crtc.h