diff options
author | Adam Jackson <ajax@redhat.com> | 2009-11-23 14:23:07 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-11-23 20:24:24 -0500 |
commit | 9632b41f00cc2fb2846569cc99dbeef78e5c94a0 (patch) | |
tree | 082873b3ed25b06e2436b6fe274badea0ac89d6f /drivers/gpu | |
parent | 862b89c069cafded4e31029be511f2e0b58d9c5f (diff) |
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 <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
109 | 109 | ||
110 | count = (*connector_funcs->get_modes)(connector); | 110 | count = (*connector_funcs->get_modes)(connector); |
111 | if (!count) { | 111 | if (!count) { |
112 | count = drm_add_modes_noedid(connector, 800, 600); | 112 | count = drm_add_modes_noedid(connector, 1024, 768); |
113 | if (!count) | 113 | if (!count) |
114 | return 0; | 114 | return 0; |
115 | } | 115 | } |