Skip to content

Commit

Permalink
drm: pick an 800x600@60HZ mode by default for unknown CRT.
Browse files Browse the repository at this point in the history
This is what X picks now, so we should do the same.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Dec 29, 2008
1 parent 60fd99e commit aa91c66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) },
};

/**
Expand Down

0 comments on commit aa91c66

Please sign in to comment.