From: Dave Airlie Date: Mon, 8 Dec 2008 04:55:27 +0000 (+1000) Subject: drm: pick an 800x600@60HZ mode by default for unknown CRT. X-Git-Tag: v2.6.29-rc1~566^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=aa91c6665a5e387e488c4a0b5da2536cc9c9f16e;p=linux-2.6-omap-h63xx.git drm: pick an 800x600@60HZ mode by default for unknown CRT. This is what X picks now, so we should do the same. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 887ed33b069..f914044ad97 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -34,12 +34,12 @@ #include "drm_crtc_helper.h" /* - * Detailed mode info for a standard 640x480@60Hz monitor + * Detailed mode info for 800x600@60Hz */ static struct drm_display_mode std_mode[] = { - { DRM_MODE("640x480", DRM_MODE_TYPE_DEFAULT, 25200, 640, 656, - 752, 800, 0, 480, 490, 492, 525, 0, - DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC) }, + { DRM_MODE("800x600", DRM_MODE_TYPE_DEFAULT, 40000, 800, 840, + 968, 1056, 0, 600, 601, 605, 628, 0, + DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) }, }; /**