summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_crtc_helper.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-11-23 20:23:07 +0100
committerDave Airlie <airlied@redhat.com>2009-11-24 02:24:24 +0100
commit9632b41f00cc2fb2846569cc99dbeef78e5c94a0 (patch)
tree082873b3ed25b06e2436b6fe274badea0ac89d6f /drivers/gpu/drm/drm_crtc_helper.c
parentdrm/edid: Fix up partially corrupted headers (diff)
downloadlinux-9632b41f00cc2fb2846569cc99dbeef78e5c94a0.tar.xz
linux-9632b41f00cc2fb2846569cc99dbeef78e5c94a0.zip
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/drm/drm_crtc_helper.c')
-rw-r--r--drivers/gpu/drm/drm_crtc_helper.c2
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,
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;
}