From: Adam Jackson Date: Mon, 23 Nov 2009 19:23:07 +0000 (-0500) Subject: drm/modes: Fall back to 1024x768 instead of 800x600 X-Git-Tag: MMI-PSA29.97-13-9~25013^2~87^2~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9632b41f00cc2fb2846569cc99dbeef78e5c94a0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/modes: Fall back to 1024x768 instead of 800x600 This matches the X server's fallback modes when using RANDR 1.2. See also: http://bugzilla.redhat.com/538761 Signed-off-by: Adam Jackson Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 1fe4e1d344fd..c5bd50ce78e2 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -109,7 +109,7 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector, count = (*connector_funcs->get_modes)(connector); if (!count) { - count = drm_add_modes_noedid(connector, 800, 600); + count = drm_add_modes_noedid(connector, 1024, 768); if (!count) return 0; }